Ejemplo n.º 1
0
 public override string ToString()
 {
     return($"Рецепт: {{ \"{Diagnosis.ToString()}\", \"{Medicament.ToString()}\" }}");
 }
Ejemplo n.º 2
0
 public Prescription(Medicament medicament, Diagnosis diagnosis, SqlConnection connection) : this()
 {
     Connection = connection;
     Medicament = medicament;
     Diagnosis  = diagnosis;
 }