Click or drag to resize

PrefetchPathAdd Method (IPrefetchPathElement, Int32)

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.8.0.0 (5.8.21.0111)
Syntax
public IPrefetchPathElement Add(
	IPrefetchPathElement elementToAdd,
	int maxAmountOfItemsToReturn
)

Parameters

elementToAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPathElement
The PrefetchPathElement to add
maxAmountOfItemsToReturn
Type: SystemInt32
Maximum amount of items to fetch of the set of entities specified by the element.

Return Value

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

Implements

IPrefetchPathAdd(IPrefetchPathElement, Int32)
See Also