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 webpage provides documentation for the \u003ccode\u003eSpannerTransactionBase\u003c/code\u003e class, which is part of the Google.Cloud.Spanner.Data namespace and is used within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpannerTransactionBase\u003c/code\u003e serves as an abstract base class for \u003ccode\u003eSpannerTransaction\u003c/code\u003e, primarily offering compatibility with the standard \u003ccode\u003eDbTransaction\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eDbTransaction\u003c/code\u003e and implements \u003ccode\u003eIDbTransaction\u003c/code\u003e, \u003ccode\u003eIDisposable\u003c/code\u003e, and \u003ccode\u003eIAsyncDisposable\u003c/code\u003e, thus providing essential transaction management features.\u003c/p\u003e\n"],["\u003cp\u003eIt documents available versions of this Class, from 3.5.0 all the way to 5.0.0-beta05, and contains details about the methods and inheritance structure.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpannerTransactionBase\u003c/code\u003e overrides the \u003ccode\u003eCommitAsync\u003c/code\u003e method from \u003ccode\u003eDbTransaction\u003c/code\u003e, allowing for asynchronous database transaction commits.\u003c/p\u003e\n"]]],[],null,[]]