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

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

            await ExecuteNonQueryAsync(commandText);
        }