Hi,
http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=6265&HighLight=1
Q: I know I can override the FetchEntity(), FetchEntityCollection(), FetchEntityWithUniqueConstraint(). This will work for direct fetch of an object put in cache. But it' ll not work if the same object is fetched via prefetch path.
Reply: Yes it will, as prefetch path fetches will use FetchEntityCollection to do the work
Can you elaborate a bit on this? If I were to override FetchEntity, and get the entity from a cache, how do I then return it from FetchEntity? I guess I need to populate the input parameter passed to the FetchEntity method somehow with the data from the entity retrieved from the cache.
Thanks,
Ries