Is LINQ to Objects Used?

Does LINQ to Objects request LINQ provider caching for the second time?

+4
source share
2 answers

LINQ-to-Objects has nothing to cache, which simply uses a series of extension method calls to generate a chain (or graph) of iterators. This is not like LINQ-to-SQL, which must compile a graph into SQL statements before executing it.

+3
source

No no. Because linq for objects is just extensions that pipe your enumerated to another, enumerated, or executing it immediately. It’s easier to understand how linq works by reading this article .

0
source

Source: https://habr.com/ru/post/1309506/


All Articles