tags:

views:

23

answers:

1

can this be cached?

+1  A: 

No, you would need to enumerate it (e.g. using ToList()) and cache the results of the enumeration. Caching the IQueryable object itself is effectively just caching the query: in that scenario it will still be re-executed every time you try to use the results.

itowlson