public override object Clone()
        {
            SQLiteExpression expr = null;

            if (_expr != null)
            {
                expr = (SQLiteExpression)_expr.Clone();
            }

            SQLiteCheckColumnConstraint res = new SQLiteCheckColumnConstraint(this.ConstraintName);

            res._expr = expr;
            return(res);
        }
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            SQLiteCheckColumnConstraint dst = obj as SQLiteCheckColumnConstraint;

            if (dst == null)
            {
                return(false);
            }

            if (!this.Expression.Equals(dst.Expression))
            {
                return(false);
            }

            return(base.Equals(obj));
        }