views:

54

answers:

2

Hi all,

It's a long time I'm working with NHibernate session through frameworks like Castle ActiveRecord but never understood what is a session exactly and how should manipulate. Can anybody help? Is there any concise resource?

Thanks in Advance

+2  A: 

The NHibernate session encapsulates a unit of work as specified by the unit of work pattern.

HTH,
Kent

Kent Boogaart
A: 

It's pretty well defined in the very beginning of the NH docs:

http://nhforge.org/doc/nh/en/index.html#quickstart-playingwithcats

Diego Mijelshon