One to One Mapping Broken in Entity Developer 5.5.196

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
jondunning
Posts: 5
Joined: Wed 04 Jan 2012 16:40

One to One Mapping Broken in Entity Developer 5.5.196

Post by jondunning » Mon 07 Oct 2013 08:47

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

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: One to One Mapping Broken in Entity Developer 5.5.196

Post by Shalex » Tue 08 Oct 2013 08:22

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

jondunning
Posts: 5
Joined: Wed 04 Jan 2012 16:40

Re: One to One Mapping Broken in Entity Developer 5.5.196

Post by jondunning » Tue 08 Oct 2013 21:54

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

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: One to One Mapping Broken in Entity Developer 5.5.196

Post by Shalex » Wed 09 Oct 2013 11:02

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.

Post Reply