Show / Hide Table of Contents

Class TransactionOptions

Options for beginning a new transaction.

Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.

Inheritance
System.Object
TransactionOptions
Implements
IDirectResponseSchema
Namespace: Google.Apis.Datastore.v1beta3.Data
Assembly: Google.Apis.Datastore.v1beta3.dll
Syntax
public class TransactionOptions : object, IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

ReadOnly__

The transaction should only allow reads.

Declaration
public virtual ReadOnly ReadOnly__ { get; set; }
Property Value
Type Description
ReadOnly

ReadWrite

The transaction should allow both reads and writes.

Declaration
public virtual ReadWrite ReadWrite { get; set; }
Property Value
Type Description
ReadWrite

Implements

IDirectResponseSchema
Back to top