Associate the collection with the given session.
Namespace:
NHibernate.CollectionAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function SetCurrentSession ( _ session As ISessionImplementor _ ) As Boolean |
C# |
---|
public bool SetCurrentSession( ISessionImplementor session ) |
Visual C++ |
---|
public: virtual bool SetCurrentSession( ISessionImplementor^ session ) sealed |
JavaScript |
---|
function setCurrentSession(session); |
Parameters
- session
- Type: NHibernate.Engine..::.ISessionImplementor