Example #1
0
 public virtual bool ValueExpressionEquals(RuleExpression entity)
 {
     return((entity != null)
            //&& entity is RuleExpression
            && ValueExpression.Equals(entity.ValueExpression));
     //&& this == (RuleExpression<ExpType>)entity;
 }
 public bool Equals(FbSubstringExpression other)
 {
     return(base.Equals(other) &&
            ValueExpression.Equals(other.ValueExpression) &&
            FromExpression.Equals(other.FromExpression) &&
            (ForExpression == null ? other.ForExpression == null : ForExpression.Equals(other.ForExpression)));
 }
Example #3
0
        public override bool Equals(QueryExpression other)
        {
            if (!(other is BetweenExpression be))
            {
                return(false);
            }

            return(Source.Equals(be.Source) && Max.Equals(be.Max) && Min.Equals(be.Min));
        }