mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Optimizing Error Tips
This commit is contained in:
parent
f7d2be4732
commit
b0a9c12cce
@ -73,7 +73,15 @@ namespace SqlSugar
|
||||
{
|
||||
foreach (var item in entityTypes)
|
||||
{
|
||||
InitTables(item);
|
||||
try
|
||||
{
|
||||
InitTables(item);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
throw new Exception(item.Name +" 创建失败,请认真检查 1、属性需要get set 2、特殊类型需要加Ignore 具体错误内容: "+ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user