IPathEdgeRootParserTSourcePrefetchTDestination Method (ExpressionFuncTSource, Object) |
For creating complex prefetch paths.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax IPathEdgeParser<TSource, TDestination> Prefetch<TDestination>(
Expression<Func<TSource, Object>> expression
)
where TDestination : IEntityCore
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
See Also