Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

MVC3 EF5 query plan caching

$
0
0

I have MVC3 project with target framework 4.0. I am developing under VS2010. I have .NET 4.5 installed of my machine. I use PostgreSQL as database server.

I read that EF4 and DbContext does not support compiled query and query plan caching.

So i just changed referenced library from EF4 to EF5, because this version caches query by default and i am still using MVC3 and VS2010.

In VS2010 i cannot set target framework 4.5 for my web project, but i set it in web.config file.

SO my question is:

How can i determine, if EF5 in my MVC3 really caches autocompiled LINQ queries? Is there any static class or tool, which contains these queries or?

Thanks. Regards




Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>