EF Core3 : One to one relation multiplicity suddenly changes

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
mrmiagi0101
Posts: 23
Joined: Tue 27 Feb 2018 13:43

EF Core3 : One to one relation multiplicity suddenly changes

Post by mrmiagi0101 » Fri 26 Nov 2021 07:53

Hello again,

we found another BUG with one to one relations. Again EF Core 3.1, ED 6.12.1354, MS SQL Server with Database First.
We have a one to one relation with two tables, where FK = PK in dependent table. The problem is every time we open the designer, it changes the multiplicity automatically from 'one to one' to 'zero or one to one' and back again.

Just added the two tables and saved, we have 0..1 -----> 1:
(By the way here the 0..1 multiplicity is on the wrong side. I already mentioned it in another thread):
Image
Image

Close the designer and open it again, we suddenly have 1 -----> 1 (Nothing is changed from our side!):
Image
Image

If we open again later, it switches back to 0..1 -----> 1 and so on.

Can you fix this please.

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

Re: EF Core3 : One to one relation multiplicity suddenly changes

Post by Shalex » Fri 26 Nov 2021 16:26

Thank you for your report. We will notify you when the bug is fixed.

mbp55
Posts: 3
Joined: Tue 03 Nov 2020 15:24

Re: EF Core3 : One to one relation multiplicity suddenly changes

Post by mbp55 » Fri 11 Mar 2022 21:11

Shalex,

Any update on this problem being fixed?

Thank you

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

Re: EF Core3 : One to one relation multiplicity suddenly changes

Post by Shalex » Thu 28 Apr 2022 16:35

The investigation is in progress. An approximate timeframe for the fix is one month.

mrmiagi0101
Posts: 23
Joined: Tue 27 Feb 2018 13:43

Re: EF Core3 : One to one relation multiplicity suddenly changes

Post by mrmiagi0101 » Fri 07 Oct 2022 13:03

Any update?

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

Re: EF Core3 : One to one relation multiplicity suddenly changes

Post by Shalex » Fri 07 Oct 2022 15:41

Thank you for bringing our attention to this request. As of right now, it is hard to provide any possible time frames.
On the other hand, please rest assured that as soon as we have any update on the process we'll let you know immediately.

Post Reply