How to enable NHibernate Second-Level Cache with NHibernate Linq Provider 1.0 ?
Second-Level Cache seems to work only with ICriteria usage.
clinqnhibernate
How to enable NHibernate Second-Level Cache with NHibernate Linq Provider 1.0 ?
Second-Level Cache seems to work only with ICriteria usage.
Best Answer
Yes, I finally worked this one out:
Update As others have pointed out, in NH3, use query.Cacheable(). However be very careful to do it like this: