|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.
Public NotInheritable Class DataLoadOptions
public sealed class DataLoadOptions
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.
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)
© 2010 - 2013 Devart. All Rights Reserved.