Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best business object design practice
Message
De
19/09/2004 00:09:12
 
 
À
19/09/2004 00:00:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00938277
Message ID:
00943811
Vues:
32
>Coming to this thread late, but I have done a lot of school registration stuff so I offer this general design observation: there should be an entity which is a registration i.e. the registration of a particular student for a particular class. In data this is represented as a join table which hold as FKs the pk of the student and the pk of the course ( I finally learned to avoid the reserved word "class" in school software < g > ) One student will have many courses and one course will have many students. Views that use this pivot table will be able to get either situation. The pivot table is also a very good place to store the grade.

Thank Charles. Makes sense.

What would you do in the case of an elementary school where all classes (oops, courses) are taught by the main teacher to all students in a group?

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform