Hi,
I am working on an application that utilizes Context in the Adapter model. At one point I need to retrieve a collection of entities. It is possible that some or most likely all of the entities that will be retrieved have already been loaded and are known to my Context object.
Now, I wanted to go about this in the way I would with a single entity. So I planned to use a FetchEntityCollection method of a DataAccessAdapter object that accepts a Context object but as it turns out there is no such overload. Even though it says in the LLBLGenPro manual, chapter "Generated code - Using the context, Adapter", that there is:
"Fetching an entity or set of entities and using a prefetch path can fully utilize a Context by one of the overloads of FetchEntityCollection, FetchEntity, FetchNewEntity etc., which accepts a Context object."
Am I missing something? Or maybe is it enough to first add the empty collection object to the Context and then call the FetchEntityCollection method to make LLBLGen first check the context object for entities.
I'll appreciate any hints or alternative ways of achieving my goal.