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.1.0.0 (5.1.0)
Syntax IPathEdgeRootParser<TSource> Prefetch(
Expression<Func<TSource, Object>> expression
)
Function Prefetch (
expression As Expression(Of Func(Of TSource, Object))
) As IPathEdgeRootParser(Of TSource)
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:
IPathEdgeRootParserTSourcethis instance for method chaining
See Also