.NET Framework Class Library
DataContext..::.LoadOptions Property

Gets or sets the DataLoadOptions associated with this DataContext.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)
Syntax

Visual Basic (Declaration)
Public Property LoadOptions As DataLoadOptions
Visual Basic (Usage)
Dim instance As DataContext
Dim value As DataLoadOptions

value = instance.LoadOptions

instance.LoadOptions = value
C#
public DataLoadOptions LoadOptions { get; set; }
Visual C++
public:
property DataLoadOptions^ LoadOptions {
    DataLoadOptions^ get ();
    void set (DataLoadOptions^ value);
}
JScript
public function get LoadOptions () : DataLoadOptions
public function set LoadOptions (value : DataLoadOptions)

Property Value

Type: System.Data.Linq..::.DataLoadOptions
The prefetch load options for related data.
Remarks

This property gets or sets the options that are used to define prefetch behavior for deferred-loaded members and membership of related collections.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5
See Also

Reference

Tags :


Page view tracker