mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-18 05:59:34 +08:00
Optimized EntityService
This commit is contained in:
parent
1b0b7d8b38
commit
ad5cec7501
@ -419,7 +419,8 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
if (this.Context.CurrentConnectionConfig.ConfigureExternalServices != null && this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityService != null)
|
if (this.Context.CurrentConnectionConfig.ConfigureExternalServices != null && this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityService != null)
|
||||||
{
|
{
|
||||||
if (!column.EntityName.ObjToString().StartsWith("<>f__AnonymousType"))
|
if (!column.EntityName.ObjToString().StartsWith("<>f__AnonymousType")
|
||||||
|
&&column.PropertyInfo?.ReflectedType!=typeof(DbTableInfo))
|
||||||
{
|
{
|
||||||
this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityService(property, column);
|
this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityService(property, column);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user