CompiledQuery in Entity Framework(blogs.microsoft.co.il)
submitted by
gilf(2139) 2 years, 2 months ago
There are times when we want to make optimizations on some piece of code. If we want to reduce the cost of executing a query in Entity Framework we can use a CompiledQuery to the rescue. Yesterday I used added a compiled query to a code base which was executing multiple times. This reduced the execution time of the repeating queries. In the post I’ll explain what are CompiledQueries and how to use them.
|category: ADO.NET
|Views: 138
tags:
ADO.NET Database another
Everyones tags:
Your Tags: