Automatically closes resources when Dispose(bool) is called.
Default
For transactions with pooled resources, releases transactional resources back to the pool
when Dispose(bool) is called.
Otherwise calling Dispose(bool) has no effect on the transaction resources.
[[["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 `Google.Cloud.Spanner.Data` is `5.0.0-beta05`, and a range of versions from `3.5.0` up to this beta are accessible."],["The `DisposeBehavior` enum defines how `SpannerTransaction` behaves when the `Dispose` method is invoked."],["There are two fields in the `DisposeBehavior` enum: `CloseResources`, which automatically closes resources on `Dispose` calls, and `Default`, which releases pooled transactional resources or has no effect if resources are not pooled."],["`DisposeBehavior` can be used to get more information on `SpannerTransaction`'s `Dispose` function, which has a bool parameter."],["The documentation provided falls under the `Google.Cloud.Spanner.Data` namespace, and is part of the `Google.Cloud.Spanner.Data.dll` assembly."]]],[]]