Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hashCode = -1998789331;

            hashCode = hashCode * -1521134295 + ConsulatationFeeID.GetHashCode();
            hashCode = hashCode * -1521134295 + DoctorID.GetHashCode();
            hashCode = hashCode * -1521134295 + HospitalID.GetHashCode();
            hashCode = hashCode * -1521134295 + FeeAmount.GetHashCode();
            hashCode = hashCode * -1521134295 + DoctorAmount.GetHashCode();
            hashCode = hashCode * -1521134295 + StartDate.GetHashCode();
            hashCode = hashCode * -1521134295 + EndDate.GetHashCode();
            return(hashCode);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hashCode = 197011055;

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

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

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

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

            return(hashCode);
        }