Disable dynamic Proxy in EF 4
If you want to stop/disable the dynamic proxy generation for your entites , please add the below line in your code.
context.ContextOptions.ProxyCreationEnabled = false;
To learn more about this option : http://msdn.microsoft.com/en-us/library/dd456853.aspx
Hope this helps someone.