mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 02:44:58 +08:00
Optimizing Error Tips
This commit is contained in:
@@ -72,9 +72,17 @@ namespace SqlSugar
|
||||
if (entityTypes.HasValue())
|
||||
{
|
||||
foreach (var item in entityTypes)
|
||||
{
|
||||
try
|
||||
{
|
||||
InitTables(item);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
throw new Exception(item.Name +" 创建失败,请认真检查 1、属性需要get set 2、特殊类型需要加Ignore 具体错误内容: "+ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public virtual void InitTables(string entitiesNamespace)
|
||||
|
||||
Reference in New Issue
Block a user