コード例 #1
0
 public ReceptionViewModel(ReceptionComposite rec)
 {
     Doctor    = new DoctorModel(rec.Doctor);
     Patient   = new PatientModel(rec.Patient);
     Schedule  = new ScheduleModel(rec.Shedule);
     Reception = new ReceptionModel(rec.Reception);
 }
コード例 #2
0
 public ReceptionViewModel()
 {
     Doctor    = new DoctorModel();
     Patient   = new PatientModel();
     Schedule  = new ScheduleModel();
     Reception = new ReceptionModel();
 }