Hello..
I want to use the Context object as a Cache (I guess that is what it is intended for). So I implemented the following lines of code:
xxxEntity o = new xxxEntity(id);
mAdapter.FetchEntity(o, ApplicationCache.Instance.Context);
(ApplicationCache = Singleton class)
From my understanding this should fetch the object from the cache if it has been already fetched before. However, checking the executed SQL statements in the profiler tells me that it is fetched again and again.
Why? Is my code wrong or is there another misunderstanding?
Thank you in advance for your help!
Cheers,
Brad