public sealed class TransactionOptions : IMessage<TransactionOptions>, IEquatable<TransactionOptions>, IDeepCloneable<TransactionOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class TransactionOptions.
Options for creating a new transaction.
Implements
IMessageTransactionOptions, IEquatableTransactionOptions, IDeepCloneableTransactionOptions, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
TransactionOptions()
public TransactionOptions()
TransactionOptions(TransactionOptions)
public TransactionOptions(TransactionOptions other)
Parameter | |
---|---|
Name | Description |
other |
TransactionOptions |
Properties
ModeCase
public TransactionOptions.ModeOneofCase ModeCase { get; }
Property Value | |
---|---|
Type | Description |
TransactionOptionsModeOneofCase |
ReadOnly
public TransactionOptions.Types.ReadOnly ReadOnly { get; set; }
The transaction can only be used for read operations.
Property Value | |
---|---|
Type | Description |
TransactionOptionsTypesReadOnly |
ReadWrite
public TransactionOptions.Types.ReadWrite ReadWrite { get; set; }
The transaction can be used for both read and write operations.
Property Value | |
---|---|
Type | Description |
TransactionOptionsTypesReadWrite |