I have an Entity mapped on a View consisting of Address records joined to Address Type records (1:n relationship). When this collection is fetched I expect it to contain an entity for each record in the view. Instead it appears to be "grouping" the result and the collection only contains an entity for each distinct Address record. I captured the generated query and do not see a magic DISTINCT or GROUP BY. The result of the query is exactly what I expect. Is there something in the Collection logic that would explain this behavior?
This is a SelfServicing project and the issue occurs whether the collection is fetched using GetMulti with a predicate, or directly referencing the child collection from the parent entity.
Any insight you could provide would be greatly appreciated.
Thanks and keep up the great work,
Matt