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-04-09 UTC."],[[["The `SpannerTransactionBase` class is a base class for `SpannerTransaction`, designed for compatibility with `DbTransaction` in the .NET framework."],["This class can override new methods added to `DbTransaction`, even if they conflict with existing methods in `SpannerTransaction`."],["`SpannerTransactionBase` implements `IDbTransaction`, `IDisposable`, and `IAsyncDisposable` interfaces, providing functionalities for managing database transactions, and handling resource disposal."],["The class includes the `CommitAsync` method for asynchronously committing a database transaction, which overrides the `DbTransaction.CommitAsync(CancellationToken)` method."],["This documentation also references the latest beta release 5.0.0-beta05 and other versioned releases of `SpannerTransactionBase`, from 3.5.0 to 4.6.0, available for use."]]],[]]