示例#1
0
 public abstract Expression Resolve(
     ParameterExpression inputParameter, Expression expressionToBeResolved,
     ClauseGenerationContext clauseGenerationContext);
示例#2
0
 protected abstract void ApplyNodeSpecificSemantics(QueryModel queryModel,
                                                    ClauseGenerationContext clauseGenerationContext);
示例#3
0
 public Expression GetResolvedPredicate(ClauseGenerationContext clauseGenerationContext)
 {
     return(_cachedPredicate.GetOrCreate(r =>
                                         r.GetResolvedExpression(Predicate.Body, Predicate.Parameters[0], clauseGenerationContext)));
 }
示例#4
0
 protected override ResultOperatorBase CreateResultOperator(ClauseGenerationContext clauseGenerationContext)
 {
     return(new DefaultIfEmptyResultOperator(OptionalDefaultValue));
 }
 protected abstract ResultOperatorBase CreateResultOperator(ClauseGenerationContext clauseGenerationContext);
 protected override ResultOperatorBase CreateResultOperator(ClauseGenerationContext clauseGenerationContext)
 {
     return(new AverageResultOperator());
 }
        public QueryModel Apply(QueryModel queryModel, ClauseGenerationContext clauseGenerationContext)
        {
            ArgumentUtility.CheckNotNull("queryModel", queryModel);

            return(_selectExpressionNode.Apply(queryModel, clauseGenerationContext));
        }
示例#8
0
 public override Expression Resolve(ParameterExpression inputParameter, Expression expressionToBeResolved,
                                    ClauseGenerationContext clauseGenerationContext)
 {
     throw CreateResolveNotSupportedException();
 }
示例#9
0
 protected override ResultOperatorBase CreateResultOperator(ClauseGenerationContext clauseGenerationContext)
 {
     return(new AggregateFromSeedResultOperator(Seed, GetResolvedFunc(clauseGenerationContext),
                                                OptionalResultSelector));
 }
示例#10
0
 public Expression GetResolvedInnerKeySelector(ClauseGenerationContext clauseGenerationContext)
 {
     return(_cachedInnerKeySelector.GetOrCreate(
                r => QuerySourceExpressionNodeUtility.ReplaceParameterWithReference(
                    this, InnerKeySelector.Parameters[0], InnerKeySelector.Body, clauseGenerationContext)));
 }
示例#11
0
 public Expression GetResolvedOuterKeySelector(ClauseGenerationContext clauseGenerationContext)
 {
     return(_cachedOuterKeySelector.GetOrCreate(
                r => r.GetResolvedExpression(OuterKeySelector.Body, OuterKeySelector.Parameters[0],
                                             clauseGenerationContext)));
 }