public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ReplenishmentCycle?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (AutomatedForecast?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Quantity?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (RoundQuantity?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (OrderInventoryDays?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (RecommendedOrderDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SalesForecastDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SupplierCanDeliver.GetHashCode()); hashCode = hashCode * -1521134295 + (SupplierMaxQuantity?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SupplierCoverageDays?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemCoverageDays?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (InitialStockLevel?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SupplierAvailableQuantity?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SupplierSharesStock.GetHashCode()); hashCode = hashCode * -1521134295 + (CreatedOn?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Status?.GetHashCode() ?? 0); return(hashCode); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Units?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (NumberOfPallets?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Finished.GetHashCode()); hashCode = hashCode * -1521134295 + (ErrorOccured.GetHashCode()); hashCode = hashCode * -1521134295 + (ErrorDesc?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Date?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CurrentStockUnits?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemSKU?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemWarehouseCode?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Initialized.GetHashCode()); hashCode = hashCode * -1521134295 + (startDateTime?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (RealOrderArrivalDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (RealOrderUnits?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SupplierCoverageDays?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CoverageDays?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (InitialStockLevel?.GetHashCode() ?? 0); return(hashCode); }