Provides a current session
for each System.Web.HttpContext. Works only with web applications.
Namespace: NHibernate.ContextAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
[SerializableAttribute] public class WebSessionContext : MapBasedSessionContext |
Visual Basic |
---|
<SerializableAttribute> _ Public Class WebSessionContext _ Inherits MapBasedSessionContext |
Visual C++ |
---|
[SerializableAttribute] public ref class WebSessionContext : public MapBasedSessionContext |
Inheritance Hierarchy
System..::..Object
NHibernate.Context..::..CurrentSessionContext
NHibernate.Context..::..MapBasedSessionContext
NHibernate.Context..::..WebSessionContext
NHibernate.Context..::..CurrentSessionContext
NHibernate.Context..::..MapBasedSessionContext
NHibernate.Context..::..WebSessionContext