public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (TotalUnits?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Description?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Result?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (LeadTime?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (WeekDay?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (StockOnHandDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (StockOnHand?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (OrderQuantity?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SalesQuantity?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (QuantitySalesForecast?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (StockOnHandDateFormatted?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SupplierStock?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (QuantitySum?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SalesForecastDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SalesForecastDateFormatted?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Threshold?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (OrderDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (OrderDateFormatted?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (RealOrderQuantity?.GetHashCode() ?? 0); return(hashCode); }
public override int GetHashCode() { var hashCode = -735683111; hashCode = hashCode * -1521134295 + WeekDay.GetHashCode(); hashCode = hashCode * -1521134295 + DayTime.GetHashCode(); return(hashCode); }
public override int GetHashCode() { return(WeekNumber.GetHashCode() ^ WeekDay.GetHashCode() ^ TimeOfDay.GetHashCode()); }