public abstract class SpannerTransactionBase : DbTransaction, IDbTransaction, IDisposable, IAsyncDisposable
Reference documentation and code samples for the Google.Cloud.Spanner.Data class SpannerTransactionBase.
Base class for SpannerTransaction, used for compatibility purposes with DbTransaction.
(This class is able to override a new method added to DbTransaction, even if it clashes
with an existing method declaration in SpannerTransaction.)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `SpannerTransactionBase` class is an abstract base for `SpannerTransaction`, designed for compatibility with `DbTransaction`."],["This class can override new methods added to `DbTransaction`, even if there are method name conflicts in `SpannerTransaction`."],["It inherits from `DbTransaction`, `MarshalByRefObject`, and `object`, and implements `IDbTransaction`, `IDisposable`, and `IAsyncDisposable`."],["`SpannerTransactionBase` includes an overridden `CommitAsync` method to commit database transactions asynchronously using a cancellation token."],["The class is part of the Google.Cloud.Spanner.Data namespace and is included in the Google.Cloud.Spanner.Data.dll assembly, with several versions available for reference, from 3.5.0 to 5.0.0-beta05."]]],[]]