Is the entire request in Entity framework 6 already compiled?

I want to optimize my queries in Entity Framework 6.1.3 , so I need to know that CompiledQueries queries are already requested or do I need to manually record them as CompiledQuery?

Thanks in advance.

+7
c # linq entity-framework-6 compiled-query
source share
1 answer

No, it is not. You need to specify that you want to use CompiledQuery.

However, using a compiled query will only provide a 7% performance improvement. If EF tuning performance is really important to you, I recommend reading the following:

https://msdn.microsoft.com/en-us/data/hh949853

+2
source share

All Articles