Gets the ICurrentSessionContext instance attached to this session factory.

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

Syntax

Visual Basic (Declaration)
ReadOnly Property CurrentSessionContext As ICurrentSessionContext
C#
ICurrentSessionContext CurrentSessionContext { get; }
Visual C++
property ICurrentSessionContext^ CurrentSessionContext {
	ICurrentSessionContext^ get ();
}
JavaScript
function get_currentSessionContext();

See Also