23 Oct
2001
23 Oct
'01
4:39 p.m.
[Steve Spicklemire]
I have a third ZClass, "Enrollment" which has two properties: student_id and class_id. Now you can write a method: getStudentIdsForClass(class_id) or getClassIdsForStudent(student_Id). With ZPatterns you can easily map these methods on to "listish" properties of the Students/Classes.
Right, a relation table. Exactly what you would do if you were using a relational database. Cheers, Tom P