DropIndex is used to drop an existing index of a table in a database.
This method may needs some privilege according to the database product and its version.
Examples
Following section demonstrates DROP-INDEX of the table(s).
using(var exc = cn.Executer())
{
// by table alias
var t0 = new Orders().AsQueryable();
exc.DropIndex(t0, t0.Indexes.First());
// by table type
exc.DropIndex<Orders>("index_name");
// by table name
exc.DropIndex("table1", "index_name");
}
vFa43T