Click or drag to resize
IPathEdgeRootParser<TSource>.Prefetch<TDestination> Method (Expression<Func<TSource, Object>>)
For creating complex prefetch paths.

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

Parameters

expression
Type: System.Linq.Expressions.Expression<Func<TSource, Object>>
Lambda expression representing the field to prefetch

Type Parameters

TDestination
Type of entity to be prefetched.

Return Value

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