Namespace:  NHibernate.Context
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	factory As ISessionFactoryImplementor _
)
C#
public ThreadStaticSessionContext(
	ISessionFactoryImplementor factory
)
Visual C++
public:
ThreadStaticSessionContext(
	ISessionFactoryImplementor^ factory
)
JavaScript
NHibernate.Context.ThreadStaticSessionContext = function(factory);

See Also