mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 12:18:00 +08:00
CodeFirst Bug
This commit is contained in:
parent
8b080b0626
commit
6e6ff80fd2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user