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#
bool UnsetSession(
	ISessionImplementor currentSession
)
Visual Basic
Function UnsetSession ( _
	currentSession As ISessionImplementor _
) As Boolean
Visual C++
bool UnsetSession(
	ISessionImplementor^ currentSession
)

Parameters

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

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

Return Value

true if this was currently associated with the given session

See Also