/// <summary> /// Compare to. /// </summary> /// /// <param name="obj">the obj</param> /// <returns>the int</returns> public int CompareTo(Object obj) { CodeSystem that = (CodeSystem)obj; return(new CompareToBuilder().Append(this.Oid, that.Oid) .Append(this.Name, that.Name).Append(this.Id, that.Id).ToComparison()); }
private bool Equals(CodeSystem that) { return(new EqualsBuilder().Append(this.Oid, that.Oid).Append( this.Name, that.Name).Append(this.Id, that.Id).IsEquals()); }