0

I want a simple explanation about Lazy loading in Entity Framework with a simple example.

  • Why do we use Lazy loading?
  • When do we use Lazy loading?
levelnis
  • 7,364
  • 6
  • 33
  • 61
Niventh
  • 967
  • 2
  • 9
  • 22
  • 3
    http://entityframeworktutorial.net/lazyloading-in-entity-framework.aspx#.USs7CB3ql0U – Habib Feb 25 '13 at 10:23
  • Read the Exam 70-516 training material – Myrtle Feb 25 '13 at 10:25
  • Welcome to SO. This question is probably a little unspecific for an SO question, which tend to be about precise issues with definite solutions, so I'm afraid it'll get closed as "Not Constructive". To see how to get the best from SO, please check out the [About], [FAQ] and [ask] pages. – Jon Egerton Feb 25 '13 at 10:47

1 Answers1

3

Lazy loading means delaying the loading of related data until you specifically request it.

take an example from here..

Lazy loading

levelnis
  • 7,364
  • 6
  • 33
  • 61
K D
  • 5,515
  • 1
  • 19
  • 32