Click or drag to resize
PathEdgeRootParserTSourcePrefetchTDestination Method (ExpressionFuncTSource, Object)
For creating complex prefetch paths.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.PrefetchPathAPI
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public 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

Implements

IPathEdgeRootParserTSourcePrefetchTDestination(ExpressionFuncTSource, Object)
See Also