Enum DisposeBehavior
Defines the behavior of SpannerTransaction when Dispose is called. DisposeBehavior for more information.
Namespace: Google.Cloud.Spanner.Data
Assembly: Google.Cloud.Spanner.Data.dll
Syntax
public enum DisposeBehavior
Fields
Name | Description |
---|---|
CloseResources | 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. |