Click or drag to resize

IPathEdgeRootParserTSourcePrefetch 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
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
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
See Also