I'm using the latest released version of LlblGenPro 2.5
I have three tables for example
Customer (CustomerId - Pk, CustomerName)
Provider (ProviderId - Pk, ProviderName)
Invoice (InvoiceId - Pk, CustomerId - Fk, ProviderId - Fk, Amount)
Invoice is related 1-n to Customer and to Provider.
I can fetch Invoice and prefetch all related Customer and Provider.
I can also fetch all Customers and all Providers (with or without prefetching their related Invoices).
If I add these collections to the same context before fetching everything comes out ok from a relationship and child collection/ parent entity uniqueing standpoint.
However, I have extra (redundant) datafetches within the customer and provider tables since some of those have already been fetched with the prefetches on Invoice. I also have the extra work of duplicate elimination happening in the uniqueing context.
I don't think LLBLGenPro will let me instead fetch Customers, Providers, and Invoices without prefetchs, add them all to the same context and let the context resolve relationships and fill proper Child collections and parent entity variables on each entity.
Am I wrong? If I am great. If I am not, I would like to request that this feature be added or that the context object expose enough of it's innards to allow me to make this happen.
p.s. The tables/relationships described here are just samples, but in the real world situations this could be very useful.