public async Task BeginTransactionAsync_ReadWrite()
        {
            var db         = DatastoreDb.Create(_fixture.ProjectId, _fixture.NamespaceId);
            var keyFactory = db.CreateKeyFactory("readonly_test");
            var options    = TransactionOptions.CreateReadWrite();

            using (var transaction = await db.BeginTransactionAsync(options))
            {
                transaction.Insert(new Entity {
                    Key = keyFactory.CreateIncompleteKey(), ["x"] = 3
                });
                await transaction.CommitAsync();
            }
        }
        public void BeginTransaction_ReadWrite()
        {
            var db         = _fixture.CreateDatastoreDb();
            var keyFactory = db.CreateKeyFactory("readonly_test");
            var options    = TransactionOptions.CreateReadWrite();

            using (var transaction = db.BeginTransaction(options))
            {
                transaction.Insert(new Entity {
                    Key = keyFactory.CreateIncompleteKey(), ["x"] = 3
                });
                transaction.Commit();
            }
        }