Get the entity that owns this persistent collection

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

Syntax

C#
Object GetCollectionOwner(
	Object key,
	ICollectionPersister collectionPersister
)
Visual Basic
Function GetCollectionOwner ( _
	key As Object, _
	collectionPersister As ICollectionPersister _
) As Object
Visual C++
Object^ GetCollectionOwner(
	Object^ key, 
	ICollectionPersister^ collectionPersister
)

Parameters

key
Type: System..::..Object

[Missing <param name="key"/> documentation for "M:NHibernate.Engine.IPersistenceContext.GetCollectionOwner(System.Object,NHibernate.Persister.Collection.ICollectionPersister)"]

collectionPersister
Type: NHibernate.Persister.Collection..::..ICollectionPersister

[Missing <param name="collectionPersister"/> documentation for "M:NHibernate.Engine.IPersistenceContext.GetCollectionOwner(System.Object,NHibernate.Persister.Collection.ICollectionPersister)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Engine.IPersistenceContext.GetCollectionOwner(System.Object,NHibernate.Persister.Collection.ICollectionPersister)"]

See Also