do you want to fetch the data fresh from the database, avoiding stale data in the cache?
Then you should either configure your database context instance so that no second level cache is used.
Or remove the content from the second level cache via context.LevelTwoCache.Evict() method.
Or is the issue that the data gets stale in the first place: Then you would need to configure second level cache synchronization. See
for more information.
Alternatively you could open a second database connection with a different backend configuration and use this non-caching database for the code parts that need fresh information. However, I would not recommend this as it easily leads to confusion and the data is still stale in the caching connection potentially.
Check out the latest announcement
about Telerik Data Access vNext as a powerful framework
able to solve core development problems.