EF Core3 : One to one relation multiplicity suddenly changes
Posted: 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):
Close the designer and open it again, we suddenly have 1 -----> 1 (Nothing is changed from our side!):
If we open again later, it switches back to 0..1 -----> 1 and so on.
Can you fix this please.
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):
Close the designer and open it again, we suddenly have 1 -----> 1 (Nothing is changed from our side!):
If we open again later, it switches back to 0..1 -----> 1 and so on.
Can you fix this please.