Inheritance: ColumnCommand
Example #1
0
        public void DropColumn(string columnName)
        {
            var command = new DropColumnCommand(Name, columnName);

            TableCommands.Add(command);
        }
Example #2
0
 public virtual void Run(StringBuilder builder, DropColumnCommand command)
 {
     builder.AppendFormat("alter table {0} drop column {1}",
         _dialect.QuoteForTableName(command.TableName),
         _dialect.QuoteForColumnName(command.ColumnName));
 }