Unset this initializer's reference to session. It is assumed that the caller is also taking care or cleaning up the owning proxy's reference in the persistence context. Generally speaking this is intended to be called only during Evict(Object) and Clear()()()() processing; most other use-cases should call SetSession(ISessionImplementor) instead.

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

Syntax

C#
void UnsetSession()
Visual Basic
Sub UnsetSession
Visual C++
void UnsetSession()

See Also