Page 1 of 1

EF Core3 : One to one relation multiplicity suddenly changes

Posted: Fri 26 Nov 2021 07:53
by mrmiagi0101
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.

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

Posted: Fri 26 Nov 2021 16:26
by Shalex
Thank you for your report. We will notify you when the bug is fixed.

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

Posted: Fri 11 Mar 2022 21:11
by mbp55
Shalex,

Any update on this problem being fixed?

Thank you

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

Posted: Thu 28 Apr 2022 16:35
by Shalex
The investigation is in progress. An approximate timeframe for the fix is one month.

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

Posted: Fri 07 Oct 2022 13:03
by mrmiagi0101
Any update?

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

Posted: Fri 07 Oct 2022 15:41
by Shalex
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.