Google.Cloud.Spanner.Data - Enum DisposeBehavior (5.0.0-beta04)

public enum DisposeBehavior

Reference documentation and code samples for the Google.Cloud.Spanner.Data 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

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.