Get the IClassMetadata associated with the given entity class

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

Syntax

C#
IClassMetadata GetClassMetadata(
	Type persistentClass
)
Visual Basic
Function GetClassMetadata ( _
	persistentClass As Type _
) As IClassMetadata
Visual C++
IClassMetadata^ GetClassMetadata(
	Type^ persistentClass
)

Parameters

persistentClass
Type: System..::..Type
the given entity type.

Return Value

The class metadata or nullNothingnullptra null reference (Nothing in Visual Basic) if not found.

See Also