public void CreateDatabase(string databaseName, CreateOptions options = null) { var commandText = _commandFormatter.CreateDatabase(databaseName, options); Execute(cmd => { cmd.ExecuteNonQuery(); }, commandText); }
public async Task CreateDatabase(string databaseName, CreateOptions options = null) { var commandText = _commandFormatter.CreateDatabase(databaseName, options); await ExecuteNonQueryAsync(commandText); }