Exemplo n.º 1
0
        protected virtual Expression VisitAggregate(AggregateExpression aggregate)
        {
            var arg = this.Visit(aggregate.Argument);

            return(this.UpdateAggregate(aggregate, aggregate.Type, aggregate.AggregateName, arg, aggregate.IsDistinct));
        }
Exemplo n.º 2
0
 protected virtual bool CompareAggregate(AggregateExpression a, AggregateExpression b)
 {
     return(a.AggregateName == b.AggregateName && this.Compare(a.Argument, b.Argument));
 }
Exemplo n.º 3
0
 protected override Expression VisitAggregate(AggregateExpression aggregate)
 {
     this.hasAggregate = true;
     return(aggregate);
 }