예제 #1
0
 protected override bool EqualsDetail(AggregateHavingExpression expression)
 {
     if (base.EqualsDetail(expression))
     {
         NullAggregateExpression target = expression as NullAggregateExpression;
         return(this._function.Equals(target._function) &&
                this._isNull == target._isNull);
     }
     else
     {
         return(false);
     }
 }
 protected override bool EqualsDetail(AggregateHavingExpression expression)
 {
     if (base.EqualsDetail(expression))
     {
         CollectionParamsAggregateExpression target = expression as CollectionParamsAggregateExpression;
         return(this._function.Equals(target._function) &&
                this._predicate == target._predicate &&
                Utility.EnumableObjectEquals(this._values, target._values));
     }
     else
     {
         return(false);
     }
 }
예제 #3
0
 protected override bool EqualsDetail(AggregateHavingExpression expression)
 {
     if (base.EqualsDetail(expression))
     {
         SubAggregateExpression target = expression as SubAggregateExpression;
         return(this._function.Equals(target._function) &&
                this._predicate == target._predicate &&
                this._queryExpression.Equals(target._queryExpression) &&
                this._queryFieldInfo.Equals(target._queryFieldInfo));
     }
     else
     {
         return(false);
     }
 }
 protected override bool EqualsDetail(AggregateHavingExpression expression)
 {
     if (base.EqualsDetail(expression))
     {
         SingleParamAggregateExpression target = expression as SingleParamAggregateExpression;
         return(this._function.Equals(target._function) &&
                Object.Equals(this._value, target._value) &&
                this._predicate == target._predicate &&
                this._isReverse == target._isReverse);
     }
     else
     {
         return(false);
     }
 }
 protected override bool EqualsDetail(AggregateHavingExpression expression)
 {
     if (base.EqualsDetail(expression))
     {
         BetweenParamsAggregateExpression target = expression as BetweenParamsAggregateExpression;
         return(this._function.Equals(target._function) &&
                Object.Equals(this._fromValue, target._fromValue) &&
                Object.Equals(this._toValue, target._toValue) &&
                this._isNot == target._isNot);
     }
     else
     {
         return(false);
     }
 }