IPathEdgeRootParser<TSource>.Prefetch Method (Expression<Func<TSource, 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.LinqSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
SyntaxIPathEdgeRootParser<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.Expressions.Expression<Func<TSource, Object>>
A member access expression lambda, e.g. 'c=>c.Orders' to fetch related orders for a customer instance
Return Value
Type:
IPathEdgeRootParser<TSource>this instance for method chaining
See Also