I have a table Students, a table Course. Because there can be a many to many relationship between these two tables, i created a associative table CourseStudents to avoid this.
Now, the problem ... what's the best way to work with this?
Do I have to make a class for "CourseStudents" ... ?
Thx in advance,
Dieter Boden
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a table Students, a table Course. Because there can be a many to many relationship between these two tables, i created a associative table CourseStudents to avoid this.
Now, the problem ... what's the best way to work with this?
Do I have to make a class for "CourseStudents" ... ?
Thx in advance,
Dieter Boden
Hi Dieter,
As you suspect, Many to Many relationships need a class for the relationship itself. Sorry that there is no simple way around this at this stage.