The latter I believe.

Queries are not cached in the identity-map (first-level cache).

From: James Crowley 
Sent: Tuesday, January 11, 2011 9:39 AM
To: [email protected] 
Subject: [nhusers] Querying by Id in LINQ and first-level cache

Hi guys, 

If I'm just passing an IQueryable<T> reference, is there any way to take 
advantage of the first-level cache when fetching entities by id? Or is it still 
the case that I'd need to go via the Get/Load methods on the ISession interface?

Many thanks

James


-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to