Inheritance: TableCommand
示例#1
0
        public void DropIndex(string indexName)
        {
            var command = new DropIndexCommand(Name, indexName);

            TableCommands.Add(command);
        }
示例#2
0
 public virtual void Run(StringBuilder builder, DropIndexCommand command)
 {
     builder.AppendFormat("drop index {0} ON {1}",
         _dialect.QuoteForColumnName(command.IndexName),
         _dialect.QuoteForTableName(command.TableName));
 }