public override bool Equals(object obj) { if (obj == null || obj == DBNull.Value) { return(false); } AugmentColumnValue other = (AugmentColumnValue)obj; return((mCurrentAugment == other.mCurrentAugment) && (mMaxAugment == other.mMaxAugment)); }
public int CompareTo(object obj) { AugmentColumnValue other = (AugmentColumnValue)obj; int current_result = mCurrentAugment.CompareTo(other.mCurrentAugment); if (current_result != 0) { return(current_result); } return(mMaxAugment.CompareTo(other.mCurrentAugment)); }