Esempio n. 1
0
        public void DropTable(string tableName, DropOptions options = null)
        {
            var commandText = _commandFormatter.DropTable(tableName, options);

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

            await ExecuteNonQueryAsync(commandText);
        }