DataContext.DeferredLoadingEnabled property

Gets or sets a value indicating whether the LINQ to SharePoint provider should allow delay loading of EntityRef<TEntity> and EntitySet<TEntity> objects.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

public bool DeferredLoadingEnabled { get; set; }

Property value

Type: System.Boolean
true, if delayed loading should be used; false otherwise. The default is true.

If DeferredLoadingEnabled is false, then all EntityRef<TEntity> and EntitySet<TEntity> objects are always a null reference (Nothing in Visual Basic).