Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
DataContext Class
 LoadOptions Property
.NET Framework Class Library
DataContext..::.LoadOptions Property

Updated: November 2007

Gets or sets the DataLoadOptions associated with this DataContext.

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

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);
}
J#
/** @property */
public DataLoadOptions get_LoadOptions()
/** @property */
public  void set_LoadOptions(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.

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

Windows Vista, Windows XP SP2, 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.

.NET Framework

Supported in: 3.5
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker