Initialize the role of the collection. The CollectionEntry.reached stuff is just to detect any silly users who set up circular or shared references between/to collections.

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

Syntax

Visual Basic (Declaration)
Public Sub UpdateReachableCollection ( _
	coll As IPersistentCollection, _
	type As IType, _
	owner As Object _
)
C#
public void UpdateReachableCollection(
	IPersistentCollection coll,
	IType type,
	Object owner
)
Visual C++
public:
void UpdateReachableCollection(
	IPersistentCollection^ coll, 
	IType^ type, 
	Object^ owner
)
JavaScript
function updateReachableCollection(coll, type, owner);

See Also