Click or drag to resize

PrefetchPathAdd Method (IPrefetchPathElement, ExcludeIncludeFieldsList)

Adds the specified element to the path.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public IPrefetchPathElement Add(
	IPrefetchPathElement elementToAdd,
	ExcludeIncludeFieldsList excludedIncludedFields
)

Parameters

elementToAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPathElement
The PrefetchPathElement to add
excludedIncludedFields
Type: SD.LLBLGen.Pro.ORMSupportClassesExcludeIncludeFieldsList
The list of IEntityField objects which have to be excluded or included for the fetch. If null or empty, all fields are fetched (default). If an instance of ExcludeIncludeFieldsList is passed in and its ExcludeContainedFields property is set to false, the fields contained in excludedIncludedFields are kept in the query, the rest of the fields in the query are excluded.

Return Value

Type: IPrefetchPathElement
the element added, so chaining of commands is possible

Implements

IPrefetchPathAdd(IPrefetchPathElement, ExcludeIncludeFieldsList)
See Also