mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 16:18:47 +08:00
Update entity aop
This commit is contained in:
parent
e7eba6ecd3
commit
c2ac2bc0c4
@ -335,7 +335,10 @@ namespace SqlSugar
|
||||
}
|
||||
if (this.Context.CurrentConnectionConfig.ConfigureExternalServices != null && this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityService != null)
|
||||
{
|
||||
this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityService(property, column);
|
||||
if (!column.EntityName.ObjToString().StartsWith("<>f__AnonymousType"))
|
||||
{
|
||||
this.Context.CurrentConnectionConfig.ConfigureExternalServices.EntityService(property, column);
|
||||
}
|
||||
}
|
||||
if (column.PropertyInfo.DeclaringType != null
|
||||
&& column.PropertyInfo.DeclaringType != result.Type
|
||||
|
Loading…
Reference in New Issue
Block a user