Editare

Partajați prin


ObjectContextOptions.LazyLoadingEnabled Property

Definition

Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed.

public:
 property bool LazyLoadingEnabled { bool get(); void set(bool value); };
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