How to make Entity Framework 5.0 use an in-memory persistence DbContext instead of accessing the database.
23 August, 2012
5 Comments
1 category
If you want to switch between in-memory stub data and a database during runtime with Entity Framework 5.0, you have several options, some of them are: – Using a second level cache mechanism like http://www.codeproject.com/Articles/435142/Entity-Framework-Second-Level-Caching-with-DbConte