예제 #1
0
        public override int GetHashCode()
        {
            var hashCode = 104675644;

            // hashCode = hashCode * -1521134295 + EqualityComparer<string>.Default.GetHashCode(CMIR);
            hashCode = hashCode * -1521134295 + material.GetHashCode();
            hashCode = hashCode * -1521134295 + materialDescription.GetHashCode();
            hashCode = hashCode * -1521134295 + rdd.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(materialDescription);

            hashCode = hashCode * -1521134295 + PurchDoc.GetHashCode();
            hashCode = hashCode * -1521134295 + plant.GetHashCode();
            hashCode = hashCode * -1521134295 + RemainQty.GetHashCode();
            return(hashCode);
        }
예제 #2
0
        public override int GetHashCode()
        {
            var hashCode = 640234196;

            hashCode = hashCode * -1521134295 + PurchaseGroup.GetHashCode();
            hashCode = hashCode * -1521134295 + Vendor.GetHashCode();
            hashCode = hashCode * -1521134295 + Material.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Descr);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Rdd);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ReschDate);

            hashCode = hashCode * -1521134295 + PurchDoc.GetHashCode();
            hashCode = hashCode * -1521134295 + Item.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ExceptMsg);

            hashCode = hashCode * -1521134295 + Plant.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(VendorName);

            hashCode = hashCode * -1521134295 + MRPcont.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            hashCode = hashCode * -1521134295 + EqualityComparer <double> .Default.GetHashCode(Quantity);

            hashCode = hashCode * -1521134295 + EqualityComparer <double> .Default.GetHashCode(RemainQty);

            hashCode = hashCode * -1521134295 + EqualityComparer <double> .Default.GetHashCode(QtyDelivered);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(POplndDelyTime);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(OrderUnit);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ReschGRdueDate);

            return(hashCode);
        }