public override async Task <DatabaseResponse> ReadAsync( RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { EncryptionDatabaseResponse encryptionDatabaseResponse = new EncryptionDatabaseResponse( await this.database.ReadAsync(requestOptions, cancellationToken), this.EncryptionCosmosClient); return(encryptionDatabaseResponse); }
public override async Task <DatabaseResponse> CreateDatabaseAsync( string id, ThroughputProperties throughputProperties, RequestOptions requestOptions = null, CancellationToken cancellationToken = default) { EncryptionDatabaseResponse encryptionDatabaseResponse = new EncryptionDatabaseResponse( await this.cosmosClient.CreateDatabaseAsync( id, throughputProperties, requestOptions, cancellationToken), this); return(encryptionDatabaseResponse); }