public sealed class TransactionOptions : IMessage<TransactionOptions>, IEquatable<TransactionOptions>, IDeepCloneable<TransactionOptions>, IBufferMessage, IMessage
Options for creating a new transaction.
Implements
IMessage<TransactionOptions>, IEquatable<TransactionOptions>, IDeepCloneable<TransactionOptions>, 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 |
TransactionOptions.ModeOneofCase |
ReadOnly
public TransactionOptions.Types.ReadOnly ReadOnly { get; set; }
The transaction can only be used for read operations.
Property Value | |
---|---|
Type | Description |
TransactionOptions.Types.ReadOnly |
ReadWrite
public TransactionOptions.Types.ReadWrite ReadWrite { get; set; }
The transaction can be used for both read and write operations.
Property Value | |
---|---|
Type | Description |
TransactionOptions.Types.ReadWrite |