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)

public:
property bool LazyLoadingEnabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if lazy loading is enabled; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: