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