Hi there,
LLBLGen is dynamic, my problem is... dynamic. :-)
I got an entity that has several m:n related collections. What I need to
retrieve is a certain collection identified by a string, so I traverse all
collections using GetMemberEntityCollections and checking whether the
string matches the type, after that I need to find a certain field value
within the entities that are inside the collection, again using a string
to identify the field.
I am not using prefetching so what I discovered is that my collections
are always empty. Problem is, that I dont want to use prefetching as
1) I cannot prefetch certain collections as I just know which
one I need at runtime and after the root entity is already fetched
2) dont want to prefetch all collections for memory and performance sake
Is it possible to "postfetch" collections later on? It should work because when
I address the collection directly from the entity using indexing, I get valid values.
The problem should be in traversing the entity using GetMemberEntityCollections
and after that foreaching that ArrayList.
Regards,
André