public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteCollateExpression dst = obj as SQLiteCollateExpression; if (dst == null) { return(false); } if (!RefCompare.Compare(_expr, dst._expr)) { return(false); } if (_collationName != dst._collationName) { return(false); } return(base.Equals(obj)); }
public override object Clone() { SQLiteExpression expr = null; if (_expr != null) { expr = (SQLiteExpression)_expr.Clone(); } SQLiteCollateExpression res = new SQLiteCollateExpression(); res._expr = expr; res._collationName = _collationName; return(res); }