mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-25 01:14:33 +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)
|
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
|
if (column.PropertyInfo.DeclaringType != null
|
||||||
&& column.PropertyInfo.DeclaringType != result.Type
|
&& column.PropertyInfo.DeclaringType != result.Type
|
||||||
|
Loading…
Reference in New Issue
Block a user