Many to many connection table doesn't work anymore

Many to many connection table doesn't work anymore

Postby rbkantor » Tue 12 Jun 2012 21:15

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 !
rbkantor
 
Posts: 3
Joined: Tue 12 Jun 2012 21:03

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

Postby Helen » Wed 13 Jun 2012 12:29

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.
Helen
Devart Team
 
Posts: 127
Joined: Wed 07 Sep 2011 11:54

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

Postby rbkantor » Wed 13 Jun 2012 13:45

Thanks,

this helps.
rbkantor
 
Posts: 3
Joined: Tue 12 Jun 2012 21:03


Return to dotConnect for Oracle