Get the persister for the named class
Namespace:
NHibernate.EngineAssembly: 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
Exception | Condition |
---|---|
NHibernate..::.MappingException | If no IEntityPersister can be found. |