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

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

            await ExecuteNonQueryAsync(commandText);
        }