예제 #1
0
        bool IEquatable <ISqlExpression> .Equals(ISqlExpression other)
        {
            if (this == other)
            {
                return(true);
            }

            var expr = other as SqlBinaryExpression;

            return
                (expr != null &&
                 _operation == expr._operation &&
                 _systemType == expr._systemType &&
                 _expr1.Equals(expr._expr1) &&
                 _expr2.Equals(expr._expr2));
        }