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).

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

Syntax

Visual Basic (Declaration)
Public Class SQLQueryCollectionReturn _
	Inherits SQLQueryNonScalarReturn
C#
public class SQLQueryCollectionReturn : SQLQueryNonScalarReturn
Visual C++
public ref class SQLQueryCollectionReturn : public SQLQueryNonScalarReturn
JavaScript
NHibernate.Loader.Custom.SQLQueryCollectionReturn = function();

Type.createClass(
	'NHibernate.Loader.Custom.SQLQueryCollectionReturn',
	NHibernate.Loader.Custom.SQLQueryNonScalarReturn);

Inheritance Hierarchy

System..::.Object
  NHibernate.Loader.Custom..::.SQLQueryNonScalarReturn
    NHibernate.Loader.Custom..::.SQLQueryCollectionReturn

See Also