public override int GetHashCode() { int hashCode = IdVer.GetHashCode() + IdSubVer.GetHashCode() + Timestamp.GetHashCode() + (IdPrototype == null ? 0 : IdPrototype.GetHashCode()) + (IdItemBcn == null ? 0 : IdItemBcn.GetHashCode()) + (IdMatTypeL1 == null ? 0 : IdMatTypeL1.GetHashCode()) + (IdMatTypeL2 == null ? 0 : IdMatTypeL2.GetHashCode()) + (IdMatTypeL3 == null ? 0 : IdMatTypeL3.GetHashCode()) + (IdDefaultSupplier == null ? 0 : IdDefaultSupplier.GetHashCode()) + (IdModel == null ? 0 : IdModel.GetHashCode()) + (IdFamilyHK == null ? 0 : IdFamilyHK.GetHashCode()) + (IdColor1 == null ? 0 : IdColor1.GetHashCode()) + (IdColor2 == null ? 0 : IdColor2.GetHashCode()) + (IdItemHK == null ? 0 : IdItemHK.GetHashCode()) + (ItemDescription == null ? 0 : ItemDescription.GetHashCode()) + (Comments == null ? 0 : Comments.GetHashCode()) + (LaunchDate == null ? 0 : LaunchDate.GetHashCode()) + (RemovalDate == null ? 0 : RemovalDate.GetHashCode()) + IdStatusCial.GetHashCode() + IdStatusProd.GetHashCode() + (IdUserAttri1 == null ? 0 : IdUserAttri1.GetHashCode()) + (IdUserAttri2 == null ? 0 : IdUserAttri2.GetHashCode()) + (IdUserAttri3 == null ? 0 : IdUserAttri3.GetHashCode()) + (Unit == null ? 0 : Unit.GetHashCode()) + (DocsLink == null ? 0 : DocsLink.GetHashCode()) + CreateDate.GetHashCode() + (PhotoUrl == null ? 0 : PhotoUrl.GetHashCode()) + (User == null ? 0 : User.GetHashCode()); return(hashCode); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Units?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemDescription?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SalesForecastDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SalesForecastDateFormatted?.GetHashCode() ?? 0); return(hashCode); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (percentage?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemDescription?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (RealOrderedQuantities?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ForecastOrders?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Month?.GetHashCode() ?? 0); return(hashCode); }
/// <summary> /// Serves as the default hash function. Implementation courtesy of Resharper /// </summary> /// <returns>An iteger representing the hash code of the given object</returns> public override int GetHashCode() { unchecked { var hashCode = Quantity; hashCode = (hashCode * 397) ^ (ItemDescription?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ UnitPrice.GetHashCode(); hashCode = (hashCode * 397) ^ TotalPrice.GetHashCode(); hashCode = (hashCode * 397) ^ Promotion.GetHashCode(); return(hashCode); } }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (WastedStock?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (StockPerSKU?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SKU?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (WastePercentage?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemDescription?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DateFormatted?.GetHashCode() ?? 0); return(hashCode); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (OrderedQuantities?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DeliveredQuantities?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Percentage?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemDescription?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Threshold?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SLADate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DateFormatted?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Month?.GetHashCode() ?? 0); return(hashCode); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DepartureDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ArrivalDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Shipper?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Carrier?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CurrentStatus?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemDescription?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Conditions?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (AggregateVolume?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Priority?.GetHashCode() ?? 0); return(hashCode); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (AgreedLeadTime?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (RealLeadTime?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Percentage?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemDescription?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DateFormatted?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Threshold?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SLALeadDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Month?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (MonthlyDelayed?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (MontlhyOrders?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (MonthlyPercentage?.GetHashCode() ?? 0); return(hashCode); }