Binds the specified session to the current context.
Namespace: NHibernate.ContextAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static void Bind( ISession session ) |
Visual Basic |
---|
Public Shared Sub Bind ( _ session As ISession _ ) |
Visual C++ |
---|
public: static void Bind( ISession^ session ) |
Parameters
- session
- Type: NHibernate..::..ISession
[Missing <param name="session"/> documentation for "M:NHibernate.Context.CurrentSessionContext.Bind(NHibernate.ISession)"]