public override bool Equals(object obj) { if (obj == null) { return(false); } if (this == obj) { return(true); } ColumnAttribute other = obj as ColumnAttribute; if (other == null) { return(false); } bool lEquals = true; lEquals &= NullHelper.Equals(name, other.name); lEquals &= dbType.Equals(other.dbType); lEquals &= Nullable.Equals(other.nullable); lEquals &= NullHelper.Equals(selectCast, other.selectCast); lEquals &= NullHelper.Equals(updateCast, other.updateCast); return(lEquals); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (this == obj) { return(true); } RowDataGatewayBinding other = obj as RowDataGatewayBinding; if (other == null) { return(false); } bool lEquals = true; lEquals &= NullHelper.Equals(column, other.column); lEquals &= NullHelper.Equals(value, other.value); return(lEquals); }