What is the difference between ManagedWebSessionContext and WebSessionContext? NHibernate?

At NHibernate, what is the difference between ManagedWebSessionContext and WebSessionContext? What is the best to use, and why?

Based on the description found here , I cannot tell the difference.

+6
nhibernate
source share
1 answer

I had the same question lately, and as far as I could tell, the ManagedWebSessionContext was deprecated and could be removed in version 3.0. Using WebSessionContext allows you to use the same interface to create a session with context sessions on the Internet, a stream of static and context calls, and this is a good reason for choosing it by ManagedWebSessionContext.

+8
source share

All Articles