Get the index of the entity that owns the collection, or -1 if there is no owner in the query results (i.e. in the case of a collection initializer) or no collection.

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

Syntax

Visual Basic (Declaration)
Protected Overridable ReadOnly Property CollectionOwners As Integer()
C#
protected virtual int[] CollectionOwners { get; }
Visual C++
protected:
virtual property array<int>^ CollectionOwners {
	array<int>^ get ();
}
JavaScript
function get_collectionOwners();

See Also