DbContextConfiguration.LazyLoadingEnabled Property

Entity Framework 6.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 .

Return to top