public virtual int _GetUniqueIdentifier()
        {
            var hashCode = 399326290;

            hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (FullTruckLoad.GetHashCode());
            hashCode = hashCode * -1521134295 + (AgreementDocument?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (LeadTime?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (DateCreated?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (WDDeliveries.GetHashCode());
            hashCode = hashCode * -1521134295 + (TargetInventoryDays?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (Profile?.GetHashCode() ?? 0);
            return(hashCode);
        }
Esempio n. 2
0
        public virtual int _GetUniqueIdentifier()
        {
            var hashCode = 399326290;

            hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (Units?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (CurrentInventoryDays?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (StockOnHandDate?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (LeadTime?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (TargetInventoryDays?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (FullTrackLoad.GetHashCode());
            hashCode = hashCode * -1521134295 + (WDDays.GetHashCode());
            return(hashCode);
        }