Get the persister for the named class

Namespace:  NHibernate.Engine
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function GetEntityPersister ( _
	className As String _
) As IEntityPersister
C#
IEntityPersister GetEntityPersister(
	string className
)
Visual C++
IEntityPersister^ GetEntityPersister(
	String^ className
)
JavaScript
function getEntityPersister(className);

Parameters

className
Type: System..::.String
The name of the class that is persisted.

Return Value

The IEntityPersister for the class.

Exceptions

ExceptionCondition
NHibernate..::.MappingExceptionIf no IEntityPersister can be found.

See Also