Page 1 of 1

Many to many connection table doesn't work anymore

Posted: Tue 12 Jun 2012 21:15
by rbkantor
Here's the problem we experience.
Let's assume the following:
Table1 has a primary key PK1
Table2 has a primary key PK2
Table3 has two foreign keys – connected to PK1 and PK2 respectively.
Devart ( as of last year ) used to create classes for all three tables.
After we updated to the most recent version, devart creates model with only two tables ( Table1 and Table2 ) while Table3 is now an "Association". In fact, adding Table3 doesn't produce a class at all !
How do I access Table3 now if I need to add/delete elements to/from it ?

Thanks !

Re: Many to many connection table doesn't work anymore

Posted: Wed 13 Jun 2012 12:29
by Helen
If you want to turn off the detection of many-to-many associations in your projects, you should deselect the "Detect ManytoMany associations" check box on the General page of the Model Settings window.

Re: Many to many connection table doesn't work anymore

Posted: Wed 13 Jun 2012 13:45
by rbkantor
Thanks,

this helps.