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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eSpannerTransactionBase\u003c/code\u003e class, which is part of the Google Cloud Spanner Data library for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpannerTransactionBase\u003c/code\u003e serves as a base class for \u003ccode\u003eSpannerTransaction\u003c/code\u003e, ensuring compatibility with the \u003ccode\u003eDbTransaction\u003c/code\u003e class, and allows for overriding methods.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements \u003ccode\u003eIDbTransaction\u003c/code\u003e, \u003ccode\u003eIDisposable\u003c/code\u003e, and \u003ccode\u003eIAsyncDisposable\u003c/code\u003e interfaces, offering asynchronous operations such as committing a transaction.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers a range of versions, from 3.5.0 up to the latest beta version 5.0.0-beta05, with links to the specific documentation for each.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists inherited members and derived types, such as \u003ccode\u003eDbTransaction.Commit()\u003c/code\u003e and \u003ccode\u003eSpannerTransaction\u003c/code\u003e, and a method \u003ccode\u003eCommitAsync(CancellationToken)\u003c/code\u003e is presented in the document.\u003c/p\u003e\n"]]],[],null,[]]