mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
-
This commit is contained in:
@@ -20,7 +20,6 @@ namespace SqlSugar
|
||||
});
|
||||
Check.Exception(!executeResult.IsSuccess, executeResult.Messaage);
|
||||
}
|
||||
|
||||
public void InitTables(Type[] entityTypes)
|
||||
{
|
||||
if (entityTypes.IsValuable())
|
||||
@@ -31,13 +30,11 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void InitTables(string entitiesNamespace)
|
||||
{
|
||||
var types = Assembly.Load(entitiesNamespace).GetTypes();
|
||||
InitTables(types);
|
||||
}
|
||||
|
||||
public void InitTables(string[] entitiesNamespaces)
|
||||
{
|
||||
if (entitiesNamespaces.IsValuable())
|
||||
|
Reference in New Issue
Block a user