Akhil Khare
Can you disable lazy/deferred loading?
By Akhil Khare in LINQ on Aug 06 2014
  • Munesh Sharma
    Jun, 2015 16

    http://www.planetofcoders.com/can-you-disable-lazydeferred-loading/

    • 0
  • Akhil Khare
    Aug, 2014 6

    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;

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS