Locate the persister by class or entity name, 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 IEntityPersister RequireClassPersister(
	string name
)
Visual Basic
Public Function RequireClassPersister ( _
	name As String _
) As IEntityPersister
Visual C++
public:
IEntityPersister^ RequireClassPersister(
	String^ name
)

Parameters

name
Type: System..::..String
The class or entity name

Return Value

The defined persister for this entity

See Also