Page 1 of 1

Problem Unique Property in Complex Type

Posted: Thu 14 Nov 2019 10:17
by entwicklungsensis
Hello,
we are using \.nuget\packages\devart.data.oracle.efcore\9.7.805

When defining a Complex Type with a property which is Unique,
put in in a new entity,
generate a dotnet ef migrations add,
then dotnet ef database update

Then there is no Unique Index created for the column. In the ef core migration class there is no index creation generated.

What went wrong?

Regards
Thomas

Re: Problem Unique Property in Complex Type

Posted: Mon 18 Nov 2019 08:55
by entwicklungsensis
Hello devart team,
anyone has an answer to this?

Thomas

Re: Problem Unique Property in Complex Type

Posted: Mon 18 Nov 2019 18:51
by Shalex
Thank you for your report. We have reproduced the issue and will notify you when it is fixed.

Re: Problem Unique Property in Complex Type

Posted: Tue 24 Dec 2019 19:41
by Shalex
The bug with generating a mapping for a unique constraint specified in owned type property of EF Core Model is fixed: viewtopic.php?f=1&t=39716.