public enum ReadLockModeReference documentation and code samples for the Google.Cloud.Spanner.Data enum ReadLockMode.
ReadLockMode is used to set the read lock mode for read-write
transactions executed on Spanner. See Google.Cloud.Spanner.V1.TransactionOptions.Types.ReadWrite.Types.ReadLockMode for more details.
Namespace
Google.Cloud.Spanner.DataAssembly
Google.Cloud.Spanner.Data.dll
Fields |
|
|---|---|
| Name | Description |
Optimistic |
Locks acquired on Commit. |
Pessimistic |
Read locks are acquired immediately on read. |
Unspecified |
Default Value. This has different effects for different combinations of IsolationLevel used. Check Google.Cloud.Spanner.V1.TransactionOptions.Types.ReadWrite.Types.ReadLockMode.Unspecified for more details. |