A NHibernate persistent object (entity) type

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

Syntax

Visual Basic (Declaration)
Public Shared Function Entity ( _
	persistentClass As Type _
) As IType
C#
public static IType Entity(
	Type persistentClass
)
Visual C++
public:
static IType^ Entity(
	Type^ persistentClass
)
JavaScript
NHibernate.NHibernateUtil.entity = function(persistentClass);

Parameters

persistentClass
Type: System..::.Type
a mapped entity class

Return Value

See Also