ObjectContextOptions.LazyLoadingEnabled Property

.NET Framework (current version)

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

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

member LazyLoadingEnabled : bool with get, set

Property Value

Type: System.Boolean

true if lazy loading is enabled; otherwise, false.

.NET Framework
Available since 4.0
Return to top