Problem Unique Property in Complex Type

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
entwicklungsensis
Posts: 5
Joined: Tue 21 Aug 2018 09:47

Problem Unique Property in Complex Type

Post by entwicklungsensis » Thu 14 Nov 2019 10:17

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

entwicklungsensis
Posts: 5
Joined: Tue 21 Aug 2018 09:47

Re: Problem Unique Property in Complex Type

Post by entwicklungsensis » Mon 18 Nov 2019 08:55

Hello devart team,
anyone has an answer to this?

Thomas

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

Re: Problem Unique Property in Complex Type

Post by Shalex » Mon 18 Nov 2019 18:51

Thank you for your report. We have reproduced the issue and will notify you when it is fixed.

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

Re: Problem Unique Property in Complex Type

Post by Shalex » Tue 24 Dec 2019 19:41

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.

Post Reply