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

            hashCode = hashCode * -1521134295 + IdDoctor.GetHashCode();
            hashCode = hashCode * -1521134295 + IdMedicalTitle.GetHashCode();
            return(hashCode);
        }
        public override int GetHashCode()
        {
            var hashCode = 1724739372;

            hashCode = hashCode * -1521134295 + IdDoctor.GetHashCode();
            hashCode = hashCode * -1521134295 + IdClinic.GetHashCode();
            hashCode = hashCode * -1521134295 + Since.GetHashCode();
            return(hashCode);
        }
Example #3
0
 public override string ToString()
 {
     return(Id.ToString() + " " + IdPatient.ToString() + " " + IdDoctor.ToString() + " " + IdOrdination.ToString() + " " + IdMedicalReport.ToString() + " " + Date.ToString());
 }