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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

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

See Also