예제 #1
0
        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));
        }
예제 #2
0
 public override int GetHashCode()
 {
     return(TableName.GetHashCode()
            ^ DomesticID.GetHashCode()
            ^ ForeignID.GetHashCode());
 }