コード例 #1
0
        protected override void IncludeNavigations(
            IQuerySource querySource,
            Type resultType,
            LambdaExpression accessorLambda,
            IReadOnlyList <INavigation> navigationPath)
        {
            Check.NotNull(querySource, "querySource");
            Check.NotNull(resultType, "resultType");
            Check.NotNull(accessorLambda, "accessorLambda");
            Check.NotNull(navigationPath, "navigationPath");

            Expression
                = new IncludeExpressionTreeVisitor(querySource, navigationPath, QueryCompilationContext)
                  .VisitExpression(Expression);
        }
コード例 #2
0
        protected override void IncludeNavigations(
            IQuerySource querySource,
            Type resultType,
            LambdaExpression accessorLambda,
            IReadOnlyList <INavigation> navigationPath,
            bool querySourceRequiresTracking)
        {
            Check.NotNull(querySource, nameof(querySource));
            Check.NotNull(resultType, nameof(resultType));
            Check.NotNull(accessorLambda, nameof(accessorLambda));
            Check.NotNull(navigationPath, nameof(navigationPath));

            Expression
                = new IncludeExpressionTreeVisitor(
                      querySource,
                      navigationPath,
                      QueryCompilationContext,
                      querySourceRequiresTracking)
                  .VisitExpression(Expression);
        }