mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +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