Gets or sets the currently bound session.

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

Syntax

C#
protected override ISession Session { get; set; }
Visual Basic
Protected Overrides Property Session As ISession
	Get
	Set
Visual C++
protected:
virtual property ISession^ Session {
	ISession^ get () override;
	void set (ISession^ value) override;
}

See Also