示例#1
0
 public bool Equals(Dealer other)
 {
     if (other == null)
     {
         return(false);
     }
     return(other == this || DealerId.Equals(other.DealerId));
 }
示例#2
0
 public override int GetHashCode()
 {
     return(DealerId == null ? 0 : DealerId.GetHashCode());
 }