Get the mapping for a particular entity

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

Syntax

C#
public PersistentClass GetClassMapping(
	string entityName
)
Visual Basic
Public Function GetClassMapping ( _
	entityName As String _
) As PersistentClass
Visual C++
public:
PersistentClass^ GetClassMapping(
	String^ entityName
)

Parameters

entityName
Type: System..::..String
An entity name.

Return Value

the entity mapping information

See Also