Page 1 of 1

Many-to-many associations and join tables

Posted: Wed 09 May 2012 11:16
by Davor
Hello!

I noticed that when I add many-to-many association, join table is not created automatically with "Update Database From Model" action. I'm using model-first approach.

Is such behaviour considered as bug?

My environment is Visual Studio 2010 Premium with Entity Developer 4.2.129.

Re: Many-to-many associations and join tables

Posted: Thu 10 May 2012 09:48
by Helen
The bug with generating SQL for creating a link-table of a many-to-many association for NHibernate models was fixed starting from the 4.2.138 version of Entity Developer: http://www.devart.com/entitydeveloper/r ... story.html .
We recommend you to upgrade to the latest (4.3.178) version.

Re: Many-to-many associations and join tables

Posted: Thu 10 May 2012 13:28
by Davor
Thank you.