Can you disable lazy/deferred loading?
Akhil Khare
http://www.planetofcoders.com/can-you-disable-lazydeferred-loading/
Yes, you can turn off the lazy loading feature by setting LazyLoadingEnabled property of the ContextOptions on context to false. Now you can fetch the related objects with the parent object in one query itself.context.ContextOptions.LazyLoadingEnabled = false;