public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteDeleteStatement dst = obj as SQLiteDeleteStatement; if (dst == null) { return(false); } if (_table != dst._table) { return(false); } if (!RefCompare.Compare(_whereExpr, dst._whereExpr)) { return(false); } return(base.Equals(obj)); }
public override object Clone() { SQLiteExpression whereExpr = null; if (_whereExpr != null) { whereExpr = (SQLiteExpression)_whereExpr.Clone(); } SQLiteDeleteStatement res = new SQLiteDeleteStatement(); res._table = _table; res._whereExpr = whereExpr; return(res); }