mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Add constraints
This commit is contained in:
parent
b0dda58bc6
commit
74bf3274cd
@ -80,6 +80,7 @@ namespace SqlSugar
|
||||
#region Check
|
||||
public virtual bool IsAnyTable(string tableName, bool isCache = true)
|
||||
{
|
||||
Check.Exception(string.IsNullOrEmpty(tableName), "IsAnyTable tableName is not null");
|
||||
tableName = this.SqlBuilder.GetNoTranslationColumnName(tableName);
|
||||
var tables = GetTableInfoList(isCache);
|
||||
if (tables == null) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user