EF4: Lazy Loading on By Default but what about pre Beta 2 Models?
Posted by: Julia Lerman Blog - Dont Be Iffy...,
on 21 Oct 2009 |
View original | Bookmarked: 0 time(s)
There are two changes to the lazy loading feature introduced in the Beta 1 version of Entity Framework.
The first is that the property, ObjectContext.ContextOptions.DeferredLoadingEnabled has been changed to ObjectContext.ContextOptions.LazyLoadingEnabled.
This is a breaking change from Beta 1 and you’ll need to update references to this property.
The bigger change is that LazyLoadingEnabled is true by default for new models.
What exactly does this mean?
When you use the EDM Wizard to create...