public override bool Equals(object obj) { if (ReferenceEquals(this, obj)) { return(true); } var other = obj as IDConversion; return(TableName.Equals(other.TableName) && DomesticID.Equals(other.DomesticID) && ForeignID.Equals(other.ForeignID)); }
public override int GetHashCode() { return(TableName.GetHashCode() ^ DomesticID.GetHashCode() ^ ForeignID.GetHashCode()); }