I am using EF with proxy and lazy load enabled. But for some process I need to get the actual non proxy classes. I have used "proxy.GetType();" etc. But all in vain. Can you please help me to get the non proxy classes?
Thanks..
Code:
public virtual Type GetRealType(object proxy)
{
return proxy.GetType();
}