Get the persister for the named entity
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
IEntityPersister GetEntityPersister( string entityName ) |
| Visual Basic |
|---|
Function GetEntityPersister ( _ entityName As String _ ) As IEntityPersister |
| Visual C++ |
|---|
IEntityPersister^ GetEntityPersister( String^ entityName ) |
Parameters
- entityName
- Type: System..::..String
The name of the entity that is persisted.
Return Value
The IEntityPersister for the entity.
Exceptions
| Exception | Condition |
|---|---|
| NHibernate..::..MappingException | If no IEntityPersister can be found. |