public override int GetHashCode() {
            int hash = GetType().GetHashCode();
            hash = (hash * 397) ^ Productid.GetHashCode();
			hash = (hash * 397) ^ Startdate.GetHashCode();

            return hash;
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

            hash = (hash * 397) ^ Locationid.GetHashCode();
            hash = (hash * 397) ^ Productid.GetHashCode();

            return(hash);
        }
Example #3
0
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

            hash = (hash * 397) ^ Documentnode.GetHashCode();
            hash = (hash * 397) ^ Productid.GetHashCode();

            return(hash);
        }
Example #4
0
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

            hash = (hash * 397) ^ Businessentityid.GetHashCode();
            hash = (hash * 397) ^ Productid.GetHashCode();

            return(hash);
        }
Example #5
0
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

            hash = (hash * 397) ^ Specialofferid.GetHashCode();
            hash = (hash * 397) ^ Productid.GetHashCode();

            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();

            hash = (hash * 397) ^ Operationsequence.GetHashCode();
            hash = (hash * 397) ^ Productid.GetHashCode();
            hash = (hash * 397) ^ Workorderid.GetHashCode();

            return(hash);
        }
Example #7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Productid != 0)
            {
                hash ^= Productid.GetHashCode();
            }
            if (Productname.Length != 0)
            {
                hash ^= Productname.GetHashCode();
            }
            if (Unitprice != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Unitprice);
            }
            if (Oldunitprice != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Oldunitprice);
            }
            if (Quantity != 0)
            {
                hash ^= Quantity.GetHashCode();
            }
            if (Pictureurl.Length != 0)
            {
                hash ^= Pictureurl.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }