Export (0) Print
Expand All

DbContextConfiguration.LazyLoadingEnabled Property

Entity Framework 5.0

Gets or sets a value indicating whether lazy loading of relationships exposed as navigation properties is enabled. Lazy loading is enabled by default.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public bool LazyLoadingEnabled { get; set; }

Property Value

Type: System.Boolean
true if lazy loading is enabled; otherwise false.
Show:
© 2014 Microsoft