public void Visit(StringBuilder builder, DropColumnCommand command) { if (ExecuteCustomInterpreter(command)) { return; } builder.AppendFormat("alter table {0} drop column {1}", _dialect.QuoteForTableName(PrefixTableName(command.TableName)), _dialect.QuoteForColumnName(command.ColumnName)); _sqlStatements.Add(builder.ToString()); }
public virtual void Run(StringBuilder builder, DropColumnCommand command) { builder.AppendFormat("alter table {0} drop column {1}", _dialect.QuoteForTableName(command.TableName), _dialect.QuoteForColumnName(command.ColumnName)); }