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.10.0.0 (5.10.0)
Syntaxpublic static TPathElement WithSubPath<TPathElement>(
	this TPathElement parentElement,
	TPathElement subPathElement,
	params TPathElement[] otherSubPathElements
)
where TPathElement : IPrefetchPathElementCore
<ExtensionAttribute>
Public Shared Function WithSubPath(Of TPathElement As IPrefetchPathElementCore) ( 
	parentElement As TPathElement,
	subPathElement As TPathElement,
	ParamArray otherSubPathElements As TPathElement()
) As TPathElement
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: 
TPathElementUsage 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