Can't delete FK with EFCore

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
seb1487
Posts: 23
Joined: Fri 24 Jun 2016 10:27

Can't delete FK with EFCore

Post by seb1487 » Thu 15 Sep 2016 06:55

Hi Shalex,
EFCore can not delete FK from Oracle with migrations. The FK by CREATE TABLE has no name, so they can not be deleted.

Democode can be downloaded here.

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

Re: Can't delete FK with EFCore

Post by Shalex » Thu 15 Sep 2016 13:16

Thank you for the test project. We have reproduced the issue and are investigating it. We will notify you about the result.

seb1487
Posts: 23
Joined: Fri 24 Jun 2016 10:27

Re: Can't delete FK with EFCore

Post by seb1487 » Thu 22 Sep 2016 14:00

Hi Shalex,
it works with 9.1.111

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

Re: Can't delete FK with EFCore

Post by Shalex » Thu 22 Sep 2016 16:12

Thank you for your feedback.

JIC
The behaviour is changed: FK constraints within CREATE TABLE are named now in Code-First Migrations starting from v9.1.111.

Post Reply