/// <inheritdoc/> public async override Task <DatastoreTransaction> BeginTransactionAsync(CallSettings callSettings = null) { var response = await Client.BeginTransactionAsync(ProjectId, callSettings).ConfigureAwait(false); return(DatastoreTransaction.Create(Client, ProjectId, NamespaceId, response.Transaction)); }
/// <inheritdoc/> public override DatastoreTransaction BeginTransaction(CallSettings callSettings = null) => DatastoreTransaction.Create(Client, ProjectId, NamespaceId, Client.BeginTransaction(ProjectId, callSettings).Transaction);