Gets or sets the currently bound session.
Namespace:
NHibernate.ContextAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Protected Overrides Property Session As ISession |
C# |
---|
protected override ISession Session { get; set; } |
Visual C++ |
---|
protected: virtual property ISession^ Session { ISession^ get () override; void set (ISession^ value) override; } |
JavaScript |
---|
function get_session(); function set_session(value); |