Represents a return defined as part of a native sql query which names a collection role in the form {classname}.{collectionrole}; it is used in defining a custom sql query for loading an entity's collection in non-fetching scenarios (i.e., loading the collection itself as the "root" of the result).

The following tables list the members exposed by the SQLQueryCollectionReturn type.

Protected Fields

  NameDescription
propertyResults (Inherited from SQLQueryNonScalarReturn.)

Public Constructors

  NameDescription
SQLQueryCollectionReturnNew

Public Properties

  NameDescription
Alias (Inherited from SQLQueryNonScalarReturn.)
LockMode (Inherited from SQLQueryNonScalarReturn.)
OwnerEntityName
Returns the class owning the collection.

OwnerProperty
Returns the name of the property representing the collection from the OwnerEntityName.

PropertyResultsMap (Inherited from SQLQueryNonScalarReturn.)