Locate the collection persister by the collection role, requiring that such a persister exist.

Namespace: NHibernate.Hql.Ast.ANTLR
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public IQueryableCollection RequireQueryableCollection(
	string role
)
Visual Basic
Public Function RequireQueryableCollection ( _
	role As String _
) As IQueryableCollection
Visual C++
public:
IQueryableCollection^ RequireQueryableCollection(
	String^ role
)

Parameters

role
Type: System..::..String
The collection role name.

Return Value

The defined CollectionPersister for this collection role.

See Also