Get the persister for the named entity

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

Syntax

C#
IEntityPersister TryGetEntityPersister(
	string entityName
)
Visual Basic
Function TryGetEntityPersister ( _
	entityName As String _
) As IEntityPersister
Visual C++
IEntityPersister^ TryGetEntityPersister(
	String^ entityName
)

Parameters

entityName
Type: System..::..String
The name of the entity that is persisted.

Return Value

The IEntityPersister for the entity or nullNothingnullptra null reference (Nothing in Visual Basic) is the name was not found.

See Also