Get the mapping for a particular class

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

Syntax

Visual Basic (Declaration)
Public Function GetClassMapping ( _
	persistentClass As Type _
) As PersistentClass
C#
public PersistentClass GetClassMapping(
	Type persistentClass
)
Visual C++
public:
PersistentClass^ GetClassMapping(
	Type^ persistentClass
)
JavaScript
function getClassMapping(persistentClass);

Parameters

persistentClass
Type: System..::.Type

See Also