remove any hard references to the entity that are held by the infrastructure (references held by application or other persistant instances are okay)

Namespace:  NHibernate.Impl
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub Evict ( _
	obj As Object _
)
C#
public void Evict(
	Object obj
)
Visual C++
public:
virtual void Evict(
	Object^ obj
) sealed
JavaScript
function evict(obj);

Parameters

obj
Type: System..::.Object

Implements

ISession..::.Evict(Object)

See Also