Tuesday, August 21, 2018

Difference Between Deferred And Immediate Query Execution In LINQ

In .NET when you write a LINQ query it actually performs the querying only when the LINQ result is accessed. This phenomenon of LINQ is called deferred execution. One thing you should be aware of is that on every access of the result set the query gets executed again and again.

source https://www.c-sharpcorner.com/Blogs/difference-between-deferred-vs-immediate-query-execution-in-linq

No comments:

Post a Comment