How to reduce Entity Framework 4 query compile time?

前端 未结 5 761
迷失自我
迷失自我 2020-12-30 12:23

Summary: We\'re having problems with EF4 query compilation times of 12+ seconds. Cached queries will only get us so far; are there any ways we can actually reduce the compil

5条回答
  •  失恋的感觉
    2020-12-30 12:43

    You could create a view for some of your more complex queries which gives you complete control of the SQL. Then include that view in your data model.

提交回复
热议问题