Is there Linq to Nhibernate for stateless session?

Posted by Jenea on Stack Overflow See other posts from Stack Overflow or by Jenea
Published on 2010-04-02T08:15:25Z Indexed on 2010/04/02 14:33 UTC
Read the original article Hit count: 918

I was using regular session for loading some items from database via linq. The problem is that it caches the entities and memory load increases very much unnecessarily. Is there a way to replace session with stateless session without introducing many changes in client code?

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about linq-to-nhibernate