You must Sign In to post a response.
  • Category: ASP.NET

    Linq is by deafuly lazy loading?

    hi,i have one Interview Question,
    by deafult linq support Lazy loading or eager loading in
  • #765012
    In the Entity Framework runtime, the default value of the LazyLoadingEnabled is false.

    But based on the tool which will vary. Some tools make that false, some tools make that true.

    By Nathan
    Direction is important than speed

  • #765019
    Basically Eager Loading is like a static binding, it loads all values and its related data from database where as lazy loading is like a late binding, which only load primary data from table but not all related things.
    with the following link, I can ay LINQ is Lazy loading

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

Sign In to post your comments