mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
CodeFirst Bug
This commit is contained in:
@@ -30,6 +30,10 @@ namespace SqlSugar
|
||||
result.TableDescription = sugarTable.TableDescription;
|
||||
}
|
||||
if (this.Context.Context.CurrentConnectionConfig.ConfigureExternalServices != null && this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityNameService != null) {
|
||||
if (result.DbTableName == null)
|
||||
{
|
||||
result.DbTableName = type.Name;
|
||||
}
|
||||
this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityNameService(type,result);
|
||||
}
|
||||
result.Type = type;
|
||||
|
||||
Reference in New Issue
Block a user