Click or drag to resize

PrefetchPath2.Add Method (IPrefetchPathElement2, Int32, IPredicateExpression)

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 IPrefetchPathElement2 Add(
	IPrefetchPathElement2 elementToAdd,
	int maxAmountOfItemsToReturn,
	IPredicateExpression additionalFilter
)

Parameters

elementToAdd
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPrefetchPathElement2
The PrefetchPathElement to add
maxAmountOfItemsToReturn
Type: System.Int32
Maximum amount of items to fetch of the set of entities specified by the element.
additionalFilter
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicateExpression
Additional predicate expression to be added to the filter already in the PrefetchPathElement

Return Value

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

Implements

IPrefetchPath2.Add(IPrefetchPathElement2, Int32, IPredicateExpression)
See Also