Menu

Problem with saving objects

2004-11-23
2013-03-07
  • Nobody/Anonymous

    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

     
    • Richard Banks

      Richard Banks - 2004-12-02

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.