ObjectContextOptions.LazyLoadingEnabled ObjectContextOptions.LazyLoadingEnabled ObjectContextOptions.LazyLoadingEnabled 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); };
[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
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