Beispiel #1
0
        public void CreateDatabase(string databaseName, CreateOptions options = null)
        {
            var commandText = _commandFormatter.CreateDatabase(databaseName, options);

            Execute(cmd => { cmd.ExecuteNonQuery(); }, commandText);
        }
Beispiel #2
0
        public async Task CreateDatabase(string databaseName, CreateOptions options = null)
        {
            var commandText = _commandFormatter.CreateDatabase(databaseName, options);

            await ExecuteNonQueryAsync(commandText);
        }