Search code examples
c#visual-studio-2010entity-frameworkentity-framework-4.1sql-server-ce-3.5

Entity Framework 4.1 and Pre-Generating Views


I implemented the suggestion in this how to article from msdn, and my first initial entity framework query is still taking 3-4 seconds. The same query comes back instantly with a SqlCommand. Does pre-generating views work with entity framework 4.1?

How to: Pre-Generate Views to Improve Query Performance

Thanks,

Mark


Solution

  • Model-first didn't change in EF 4.1, so yes, it does work.