public override object Clone() { SQLiteExpression expr = null; if (_expr != null) { expr = (SQLiteExpression)_expr.Clone(); } SQLiteCheckTableConstraint res = new SQLiteCheckTableConstraint(this.ConstraintName); res._expr = expr; res._conf = _conf; return(res); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteCheckTableConstraint dst = obj as SQLiteCheckTableConstraint; if (dst == null) { return(false); } if (!RefCompare.CompareMany(_expr, dst._expr, _conf, dst._conf)) { return(false); } return(base.Equals(obj)); }