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 latest version available for `SpannerTransactionBase` is `5.0.0-beta05`, with numerous previous versions listed for reference."],["`SpannerTransactionBase` is an abstract base class designed for compatibility with `DbTransaction` in the context of Google Cloud Spanner data operations."],["It implements interfaces such as `IDbTransaction`, `IDisposable`, and `IAsyncDisposable`, providing asynchronous and synchronous methods for managing transactions and resources."],["The `SpannerTransactionBase` class inherits from `DbTransaction`, `MarshalByRefObject`, and `object`, and it includes methods for committing and rolling back transactions, including an overriden asynchronous commit method `CommitAsync`."],["A derived type from `SpannerTransactionBase` is the `SpannerTransaction` class."]]],[]]