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#
public Object GetCollectionOwner(
	Object key,
	ICollectionPersister collectionPersister
)
Visual Basic
Public Function GetCollectionOwner ( _
	key As Object, _
	collectionPersister As ICollectionPersister _
) As Object
Visual C++
public:
virtual Object^ GetCollectionOwner(
	Object^ key, 
	ICollectionPersister^ collectionPersister
) sealed

Parameters

key
Type: System..::..Object

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

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

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

Return Value

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

Implements

IPersistenceContext..::..GetCollectionOwner(Object, ICollectionPersister)

See Also