Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = BranchId.GetHashCode();
         result = (result * 397) ^ AgeId.GetHashCode();
         result = (result * 397) ^ SexId.GetHashCode();
         result = (result * 397) ^ JobId.GetHashCode();
         return(result);
     }
 }
Пример #2
0
 public override int GetHashCode()
 {
     return(BranchId.GetHashCode());
 }