Click or drag to resize

PrefetchPathExtensionMethodsWithSubPathTPathElement Method

Defines the sub path for the specified parentElement.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static TPathElement WithSubPath<TPathElement>(
	this TPathElement parentElement,
	TPathElement subPathElement,
	params TPathElement[] otherSubPathElements
)
where TPathElement : IPrefetchPathElementCore

Parameters

parentElement
Type: TPathElement
The parent element.
subPathElement
Type: TPathElement
The sub path element.
otherSubPathElements
Type: TPathElement
The other sub path elements.

Type Parameters

TPathElement
The type of the path element.

Return Value

Type: TPathElement

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also