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\u003eThe \u003ccode\u003eSpannerTransactionBase\u003c/code\u003e class is an abstract base for \u003ccode\u003eSpannerTransaction\u003c/code\u003e, designed for compatibility with \u003ccode\u003eDbTransaction\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class can override new methods added to \u003ccode\u003eDbTransaction\u003c/code\u003e, even if there are method name conflicts in \u003ccode\u003eSpannerTransaction\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces such as \u003ccode\u003eIDbTransaction\u003c/code\u003e, \u003ccode\u003eIDisposable\u003c/code\u003e, and \u003ccode\u003eIAsyncDisposable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitAsync\u003c/code\u003e method allows for asynchronous commitment of database transactions, taking a cancellation token as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of various versions, going as high as \u003ccode\u003e5.0.0-beta05\u003c/code\u003e (latest), and as low as \u003ccode\u003e3.5.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]