Attempt to locate the loading collection given the owner's key. The lookup here occurs against all result-set contexts...

Namespace: NHibernate.Engine.Loading
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public IPersistentCollection LocateLoadingCollection(
	ICollectionPersister persister,
	Object ownerKey
)
Visual Basic
Public Function LocateLoadingCollection ( _
	persister As ICollectionPersister, _
	ownerKey As Object _
) As IPersistentCollection
Visual C++
public:
IPersistentCollection^ LocateLoadingCollection(
	ICollectionPersister^ persister, 
	Object^ ownerKey
)

Parameters

persister
Type: NHibernate.Persister.Collection..::..ICollectionPersister
The collection persister
ownerKey
Type: System..::..Object
The owner key

Return Value

The loading collection, or null if not found.

See Also