i dont understand why the answer should be A on the question beneath :
For myself i think answer D is much more logical, can anybody explain to me why A is the correct answer ??
tanx !
-------------------
9. You have a database that tracks doctors and patients. The system has three tables doctors, patients, and doctorspatients. How should you construct the business objects?
a. a Patients collection of Patient objects that each contain a Doctors collection of Doctor objects, and a Doctors collection of Doctor objects that each contain a Patients collection of Patients objects
b. a Patients collection of Patient objects that each contain a single PatientDoctor object, and a Doctors collection of Doctor objects that each contain a single PatientDoctor object
c. a Patients collection of Patient objects that each contain a single Doctor object, and a Doctors collection of Doctor objects that each contain a single Patient object
d. a Patients collection of Patient objects that each contain a PatientDoctors collection of PatientDoctor objects, and a Doctors collection of Doctor objects that each contain a PatientDoctors collection of PatientDoctor objects
For myself i think answer D is much more logical, can anybody explain to me why A is the correct answer ??
tanx !
-------------------
9. You have a database that tracks doctors and patients. The system has three tables doctors, patients, and doctorspatients. How should you construct the business objects?
a. a Patients collection of Patient objects that each contain a Doctors collection of Doctor objects, and a Doctors collection of Doctor objects that each contain a Patients collection of Patients objects
b. a Patients collection of Patient objects that each contain a single PatientDoctor object, and a Doctors collection of Doctor objects that each contain a single PatientDoctor object
c. a Patients collection of Patient objects that each contain a single Doctor object, and a Doctors collection of Doctor objects that each contain a single Patient object
d. a Patients collection of Patient objects that each contain a PatientDoctors collection of PatientDoctor objects, and a Doctors collection of Doctor objects that each contain a PatientDoctors collection of PatientDoctor objects