public override int GetHashCode() { int hashCode = 1803674884; hashCode = hashCode * -1521134295 + Id.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + IsIntermediate.GetHashCode(); hashCode = hashCode * -1521134295 + IsDanger.GetHashCode(); hashCode = hashCode * -1521134295 + IsProduction.GetHashCode(); hashCode = hashCode * -1521134295 + IsActive.GetHashCode(); hashCode = hashCode * -1521134295 + IntermediateNrD.GetHashCode(); hashCode = hashCode * -1521134295 + ClpSignalWordId.GetHashCode(); hashCode = hashCode * -1521134295 + ClpMsdsId.GetHashCode(); hashCode = hashCode * -1521134295 + FunctionId.GetHashCode(); hashCode = hashCode * -1521134295 + Price.GetHashCode(); hashCode = hashCode * -1521134295 + CurrencyId.GetHashCode(); hashCode = hashCode * -1521134295 + UnitId.GetHashCode(); hashCode = hashCode * -1521134295 + Density.GetHashCode(); hashCode = hashCode * -1521134295 + Solids.GetHashCode(); hashCode = hashCode * -1521134295 + Ash450.GetHashCode(); hashCode = hashCode * -1521134295 + VOC.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Remarks); hashCode = hashCode * -1521134295 + LoginId.GetHashCode(); hashCode = hashCode * -1521134295 + DateCreated.GetHashCode(); hashCode = hashCode * -1521134295 + DateUpdated.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hashCode = -1424578035; hashCode = hashCode * -1521134295 + Id.GetHashCode(); hashCode = hashCode * -1521134295 + LabBookId.GetHashCode(); hashCode = hashCode * -1521134295 + Version.GetHashCode(); hashCode = hashCode * -1521134295 + Mass.GetHashCode(); hashCode = hashCode * -1521134295 + Amount.GetHashCode(); hashCode = hashCode * -1521134295 + ChangeDate.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Comment); hashCode = hashCode * -1521134295 + LoginId.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(LoginShortcut); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Permision); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Title); hashCode = hashCode * -1521134295 + Density.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + (BirthDate == default(DateTime) ? 0 : BirthDate.GetHashCode()); hash = hash * 23 + (BusinessEntityId == default(int) ? 0 : BusinessEntityId.GetHashCode()); hash = hash * 23 + (CurrentFlag == default(bool) ? 0 : CurrentFlag.GetHashCode()); hash = hash * 23 + (Gender == null ? 0 : Gender.GetHashCode()); hash = hash * 23 + (HireDate == default(DateTime) ? 0 : HireDate.GetHashCode()); hash = hash * 23 + (JobTitle == null ? 0 : JobTitle.GetHashCode()); hash = hash * 23 + (LoginId == null ? 0 : LoginId.GetHashCode()); hash = hash * 23 + (MaritalStatus == null ? 0 : MaritalStatus.GetHashCode()); hash = hash * 23 + (ModifiedDate == default(DateTime) ? 0 : ModifiedDate.GetHashCode()); hash = hash * 23 + (NationalIdNumber == null ? 0 : NationalIdNumber.GetHashCode()); hash = hash * 23 + (OrganizationLevel == null ? 0 : OrganizationLevel.GetHashCode()); hash = hash * 23 + (Rowguid == default(Guid) ? 0 : Rowguid.GetHashCode()); hash = hash * 23 + (SalariedFlag == default(bool) ? 0 : SalariedFlag.GetHashCode()); hash = hash * 23 + (SickLeaveHours == default(short) ? 0 : SickLeaveHours.GetHashCode()); hash = hash * 23 + (VacationHours == default(short) ? 0 : VacationHours.GetHashCode()); return(hash); } }