public override int GetHashCode()
        {
            var hashCode = 677826362;

            hashCode = hashCode * -1521134295 + IdDoctor.GetHashCode();
            hashCode = hashCode * -1521134295 + IdMedicalTitle.GetHashCode();
            return(hashCode);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            var hashCode = -200233715;

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

            return(hashCode);
        }