Click or drag to resize
IPrefetchPathAdd Method (IPrefetchPathElement)
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.3.0.0 (5.3.0)
Syntax
IPrefetchPathElement Add(
	IPrefetchPathElement elementToAdd
)

Parameters

elementToAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPathElement
The PrefetchPathElement to add

Return Value

Type: IPrefetchPathElement
the element added, so chaining of commands is possible
Exceptions
ExceptionCondition
ArgumentExceptionWhen elementToAdd is not specifying a fetch meant for an entity of type rootEntityType set in the constructor of this class
See Also