Esempio n. 1
0
 public override int GetHashCode()
 {
     return
         (BranchID.GetHashCode() ^
          AccountID.GetHashCode() ^
          SubID.GetHashCode() ^
          ProjectID.GetHashCode() ^
          TaskID.GetHashCode() ^
          CostCodeID.GetHashCode() ^
          InventoryID.GetHashCode());
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     if (ProjectID != null)
     {
         return(ProjectID.GetHashCode());
     }
     else
     {
         return(base.GetHashCode());
     }
 }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hashCode = -1422345826;

            hashCode = hashCode * -1521134295 + ID.GetHashCode();
            hashCode = hashCode * -1521134295 + ProjectID.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Detail);

            hashCode = hashCode * -1521134295 + Status.GetHashCode();
            hashCode = hashCode * -1521134295 + AssignedToUserID.GetHashCode();
            hashCode = hashCode * -1521134295 + CreatedOn.GetHashCode();
            return(hashCode);
        }
Esempio n. 4
0
 public override int GetHashCode()
 {
     return(ProjectID.GetHashCode());
 }