Disassociate this collection from the given session.

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

Syntax

C#
public bool UnsetSession(
	ISessionImplementor currentSession
)
Visual Basic
Public Function UnsetSession ( _
	currentSession As ISessionImplementor _
) As Boolean
Visual C++
public:
virtual bool UnsetSession(
	ISessionImplementor^ currentSession
) sealed

Parameters

currentSession
Type: NHibernate.Engine..::..ISessionImplementor

[Missing <param name="currentSession"/> documentation for "M:NHibernate.Collection.AbstractPersistentCollection.UnsetSession(NHibernate.Engine.ISessionImplementor)"]

Return Value

true if this was currently associated with the given session

Implements

IPersistentCollection..::..UnsetSession(ISessionImplementor)

See Also