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...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Data | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1805 | Hits: 65

Similar Posts

  • Some Tidbits of Entity Framework 4 in Visual Studio 2010 Beta 2 more
  • ObjectContext.SaveChanges is now Virtual/Overridable in EF4 more
  • Drop-Down Menu Button with Telerik ContextMenu for Silverlight more
  • Configuring Team build using XUnit [From client] Update. more
  • A total n00bs guide to migrating from a custom data layer to Nhibernate: so many choices more
  • Telerik Launches RadControls for Silverlight 3 for Line-of-Business Application Development more
  • Silverlight EnableFramerateCounter parameter more
  • Small EF4/WPF bug that bit me in the butt during my VTdotNET presentation more
  • Intersoft Solutions Releases WebUI Studio 2009 The Worlds Most Innovative Web Development Toolkit more
  • More Designer Improvements - Deleting Entities from the model and from the store schema more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD