See Also

DataLoadOptions Members  | Devart.Data.Linq Namespace  | LoadWith Method  | Generic LoadWith

Requirements

Namespace: Devart.Data.Linq

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7

Assembly: Devart.Data.Linq (in Devart.Data.Linq.dll)

Language

Visual Basic

C#

Show All

See AlsoRequirementsLanguagesDevart.Data.LinqSend comments on this topic.

DataLoadOptions Class

Devart.Data.Linq Namespace : DataLoadOptions Class

Allows immediate loading and filtering of related data.

For a list of all members of this type, see DataLoadOptions members.

Inheritance Hierarchy

System.Object
   Devart.Data.Linq.DataLoadOptions

Syntax

[Visual Basic]
Public NotInheritable Class DataLoadOptions
[C#]
public sealed class DataLoadOptions

Remarks

When you query for an object, you actually retrieve only the object you requested. The related objects are not automatically fetched at the same time. The DataLoadOptions class provides two methods to achieve immediate loading of specified related data. The LoadWith method allows for immediate loading of data related to the main target. The AssociateWith method allows for filtering related objects.

Assigning a DataLoadOptions to a DataContext after the first query has been executed generates an exception.

Modifying a DataLoadOptions after it has been assigned to a DataContext generates an exception.

Our implementation of DataLoadOptions class supports cycle handling, self-recursion, and back-pointers.

Requirements

Namespace: Devart.Data.Linq

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7

Assembly: Devart.Data.Linq (in Devart.Data.Linq.dll)

See Also

DataLoadOptions Members  | Devart.Data.Linq Namespace  | LoadWith Method  | Generic LoadWith

 

 


© 2010 - 2013 Devart. All Rights Reserved.