Click or drag to resize

PathEdgeRootParserTSourcePrefetch Method (ExpressionFuncTSource, Object)

For creating simple prefetch paths, where all you need is to prefetch an entity/entitycollection and no sorting/filtering etc is required.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.PrefetchPathAPI
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public IPathEdgeRootParser<TSource> Prefetch(
	Expression<Func<TSource, Object>> expression
)

Parameters

expression
Type: System.Linq.ExpressionsExpressionFuncTSource, Object
A member access expression lambda, e.g. 'c=>c.Orders' to fetch related orders for a customer instance

Return Value

Type: IPathEdgeRootParserTSource
this instance for method chaining

Implements

IPathEdgeRootParserTSourcePrefetchTDestination(ExpressionFuncTSource, Object)
See Also