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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static Type GetClass(
	Object proxy
)
Visual Basic
Public Shared Function GetClass ( _
	proxy As Object _
) As Type
Visual C++
public:
static Type^ GetClass(
	Object^ proxy
)

Parameters

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

Return Value

the true class of the instance

See Also