Get the class of an instance or the underlying class of a proxy (without initializing the proxy!).
It is almost always better to use the entity name!
Namespace: NHibernate.ProxyAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static Type GetClassWithoutInitializingProxy(
Object obj
) |
Visual Basic |
---|
Public Shared Function GetClassWithoutInitializingProxy ( _
obj As Object _
) As Type |
Visual C++ |
---|
public:
static Type^ GetClassWithoutInitializingProxy(
Object^ obj
) |
Return Value
The Underlying Type for the object regardless of if it is a Proxy.
See Also