Get the session to which this persistence context is bound.

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

Syntax

C#
public ISessionImplementor Session { get; }
Visual Basic
Public ReadOnly Property Session As ISessionImplementor
	Get
Visual C++
public:
virtual property ISessionImplementor^ Session {
	ISessionImplementor^ get () sealed;
}

Implements

IPersistenceContext..::..Session

See Also