Click or drag to resize

PrefetchPath2Add Method (IPrefetchPathElement2, IEntityFactory2)

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.4.0.0 (5.4.0)
Syntax
public IPrefetchPathElement2 Add(
	IPrefetchPathElement2 elementToAdd,
	IEntityFactory2 entityFactoryToUse
)

Parameters

elementToAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIPrefetchPathElement2
The PrefetchPathElement to add
entityFactoryToUse
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactory2
The entity factory to use to produce the related entities.

Return Value

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

Implements

IPrefetchPath2Add(IPrefetchPathElement2, IEntityFactory2)
See Also