Locate the collection persister by the collection role.

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

Syntax

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

Parameters

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

Return Value

The defined CollectionPersister for this collection role, or null.

See Also