Click or drag to resize

IPathEdgeRootParserTSourcePrefetchTDestination Method (ExpressionFuncTSource, Object)

For creating complex prefetch paths.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
IPathEdgeParser<TSource, TDestination> Prefetch<TDestination>(
	Expression<Func<TSource, Object>> expression
)
where TDestination : IEntityCore

Parameters

expression
Type: System.Linq.ExpressionsExpressionFuncTSource, Object
Lambda expression representing the field to prefetch

Type Parameters

TDestination
Type of entity to be prefetched.

Return Value

Type: IPathEdgeParserTSource, TDestination
this instance for method chaining: for performing sorting/filtering/limiting/excluding/including/subpaths on the prefetch path
See Also