mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update db.DbMain.GetFuncList
This commit is contained in:
parent
eb77c3eb49
commit
6403a81720
@ -376,7 +376,7 @@ AND syscomments.text LIKE '%"+tableName+"%'");
|
|||||||
}
|
}
|
||||||
public override List<string> GetFuncList()
|
public override List<string> GetFuncList()
|
||||||
{
|
{
|
||||||
return this.Context.Ado.SqlQuery<string>("SELECT name\r\nFROM sys.objects\r\nWHERE type_desc = 'SQL_SCALAR_FUNCTION' ");
|
return this.Context.Ado.SqlQuery<string>("SELECT name\r\nFROM sys.objects\r\nWHERE type_desc IN( 'SQL_SCALAR_FUNCTION','SQL_TABLE_VALUED_FUNCTION') ");
|
||||||
}
|
}
|
||||||
private bool IsAnySchemaTable(string tableName)
|
private bool IsAnySchemaTable(string tableName)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user