Share via


DbContextConfiguration.LazyLoadingEnabled Property

Definition

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

public bool LazyLoadingEnabled { get; set; }
member this.LazyLoadingEnabled : bool with get, set
Public Property LazyLoadingEnabled As Boolean

Property Value

true if lazy loading is enabled; otherwise, false .

Applies to