mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Synchronization code
This commit is contained in:
@@ -174,6 +174,12 @@ namespace SqlSugar
|
||||
#endregion
|
||||
|
||||
#region DDL
|
||||
public virtual bool DropIndex(string indexName)
|
||||
{
|
||||
indexName = this.SqlBuilder.GetNoTranslationColumnName(indexName);
|
||||
this.Context.Ado.ExecuteCommand($" DROP INDEX {indexName} ");
|
||||
return true;
|
||||
}
|
||||
public virtual bool DropView(string viewName)
|
||||
{
|
||||
viewName = this.SqlBuilder.GetNoTranslationColumnName(viewName);
|
||||
|
Reference in New Issue
Block a user