DataContext.LoadOptions Property

Definition

Gets or sets the DataLoadOptions associated with this DataContext.

public:
 property System::Data::Linq::DataLoadOptions ^ LoadOptions { System::Data::Linq::DataLoadOptions ^ get(); void set(System::Data::Linq::DataLoadOptions ^ value); };
public System.Data.Linq.DataLoadOptions LoadOptions { get; set; }
member this.LoadOptions : System.Data.Linq.DataLoadOptions with get, set
Public Property LoadOptions As DataLoadOptions

Property Value

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.

Applies to