Page 1 of 1

One to One Mapping Broken in Entity Developer 5.5.196

Posted: Mon 07 Oct 2013 08:47
by jondunning
Hi,

After migrating to the new dotConnect and Entity Developer I have found that one-to-one database mappings do not work.

After looking at the database it looks to have removed the foreign key link between the tables.

Please advise.

Thanks,

Jon

Re: One to One Mapping Broken in Entity Developer 5.5.196

Posted: Tue 08 Oct 2013 08:22
by Shalex
Please send us the following information:
1) the value of the Model Settings > Model > General > Detect Table Per Type inheritances option
2) your model
3) the corresponding DDL script
4) the steps we should follow to reproduce the issue in our environment

Re: One to One Mapping Broken in Entity Developer 5.5.196

Posted: Tue 08 Oct 2013 21:54
by jondunning
1.) unticked
2.) not needed
3.) not needed
4.) add 2 models to Entity Developer and create a one-to-one relationship between them. Click generator database script. You will see no link between the 2 tables in the db script

Thanks,

Jon

Re: One to One Mapping Broken in Entity Developer 5.5.196

Posted: Wed 09 Oct 2013 11:02
by Shalex
jondunning wrote:add 2 models to Entity Developer and create a one-to-one relationship between them. Click generator database script. You will see no link between the 2 tables in the db script
We have sent a test model to the e-mail from your forum profile. Please modify this model or send us yours so that we can reproduce the issue in our environment.