Beispiel #1
0
 public void UpdatePhysician(ref Physician p)
 {
     p.FirstName      = FirstName;
     p.LastName       = LastName;
     p.DateOfBirth    = DateOfBirth.GetValueOrDefault();
     p.Email          = Email;
     p.Sex            = Sex.GetValueOrDefault();
     p.Specialization = Specialization.GetValueOrDefault();
 }
Beispiel #2
0
 public void UpdatePatient(ref Patient p)
 {
     p.FirstName        = FirstName;
     p.LastName         = LastName;
     p.DateOfBirth      = DateOfBirth.GetValueOrDefault();
     p.Email            = Email;
     p.Sex              = Sex.GetValueOrDefault();
     p.IllnessHistory   = IllnessHistory;
     p.RecommendedDrugs = RecommendedDrugs;
 }