Get the true, underlying class of a proxied persistent class. This operation will initialize a proxy by side-effect.

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

Syntax

Visual Basic (Declaration)
Public Shared Function GetClass ( _
	proxy As Object _
) As Type
C#
public static Type GetClass(
	Object proxy
)
Visual C++
public:
static Type^ GetClass(
	Object^ proxy
)
JavaScript
NHibernate.NHibernateUtil.getClass = function(proxy);

Parameters

proxy
Type: System..::.Object
a persistable object or proxy

Return Value

the true class of the instance

See Also