Class TransactionSelector
This message is used to select the transaction in which a Read or ExecuteSql call runs. See TransactionOptions for more information about transactions.
Inheritance
System.Object
TransactionSelector
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class TransactionSelector : IDirectResponseSchema
Properties
Begin
Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in ResultSetMetadata.transaction, which is a Transaction.
Declaration
[JsonProperty("begin")]
public virtual TransactionOptions Begin { get; set; }
Property Value
| Type | Description |
|---|---|
| TransactionOptions |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
Execute the read or SQL query in a previously-started transaction.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SingleUse
Execute the read or SQL query in a temporary transaction. This is the most efficient way to execute a transaction that consists of a single SQL query.
Declaration
[JsonProperty("singleUse")]
public virtual TransactionOptions SingleUse { get; set; }
Property Value
| Type | Description |
|---|---|
| TransactionOptions |