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.ProxyAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public void UnsetSession() |
Visual Basic |
---|
Public Sub UnsetSession |
Visual C++ |
---|
public: virtual void UnsetSession() sealed |