Reputation: 1769
has anyone some experience with caching and EF ?
I was looking at the EFProviderWrappers http://code.msdn.microsoft.com/EFProviderWrappers but this project seems to be outdated. Does someone used it with success ?
Or are there other better solution ?
Upvotes: 4
Views: 2967
Reputation: 7436
You may try to look at second level caching made by Eye Soft. Here's link to Nuget package and its source code on Codeplex. It's based on EFProviderWrappers, but refactored and seems up to date more or less.
Upvotes: 0
Reputation: 161
If you want to cache LINQ query results I recommend you try the Pete Montgomery solution. It is applicable in ASP.NET but can be used in desktop apllication if replace HttpRuntime.Cache
to System.Runtime.Caching.MemoryCache.Default
.
Upvotes: 1