You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there are more childrens for the main entity, the query composed repeats the main entity Id.
This causes the object with the same repeated id to be materialized multiple times.
If I order the main entity by the id column, the problem is fixed but this is not convenient because we need to have another order by after the object materialization.
NPoco Version 5.3.2
.NET 6
The text was updated successfully, but these errors were encountered:
I don't know much about NPoco internals, but could it be possible to use the defined primary key over the entity in order to check if the object has already been added to the list?
Hi,
I'm facing an issue where using IncludeMany.
When there are more childrens for the main entity, the query composed repeats the main entity Id.
This causes the object with the same repeated id to be materialized multiple times.
If I order the main entity by the id column, the problem is fixed but this is not convenient because we need to have another order by after the object materialization.
NPoco Version 5.3.2
.NET 6
The text was updated successfully, but these errors were encountered: