PathEdgeRootParserTSourcePrefetchTDestination Method (ExpressionFuncTSource, Object) |
For creating complex prefetch paths.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses.PrefetchPathAPI
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public IPathEdgeParser<TSource, TDestination> Prefetch<TDestination>(
Expression<Func<TSource, Object>> expression
)
where TDestination : IEntityCore
Public Function Prefetch(Of TDestination As IEntityCore) (
expression As Expression(Of Func(Of TSource, Object))
) As IPathEdgeParser(Of TSource, TDestination)
Parameters
- expression
- Type: System.Linq.ExpressionsExpressionFuncTSource, Object
Lambda expression representing the field to prefetch
Type Parameters
- TDestination
- Type of entity to be prefetched.
Return Value
Type:
IPathEdgeParserTSource,
TDestinationthis instance for method chaining: for performing sorting/filtering/limiting/excluding/including/subpaths on the prefetch path
Implements
IPathEdgeRootParserTSourcePrefetchTDestination(ExpressionFuncTSource, Object)See Also