I may be missing something basic here, but I'm trying to bind an EntityCollection object, SelfServicing, in LLBLGen v2b to a DevExpress grid component and I'm having problems.
I've created the relationship in the designer, the child tables exist, added the apropriate looked-up values as "Fields mapped on related fields", and set these to read-only just in case.
When I bind this to the grid everything is fine, except that when I trace the connection I find that thousands of requests go to the server for data, with several being requested for each row. This occurs when data is sorted in the columns too.
I assume this is because the base Entity is not caching the associated lookup values.
What is the correct way to approach this type of situation? It's a common situation in any normalized database, and I realize that a view could be used to return the information initially, but this would not be updatable.
Oh, and can we please have a copy of the v2 .NET2 files as a chm? I despise the new .NET help format, and it takes so long to load that it's quicker to Google most solutions
Cheers,
Jason