Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Net Core 3.1 Beta

user606112Jul 7 2020 — edited Jul 8 2020

If you are going to store a Master-Entry with Detail-Entries by saving the context I got this error:

Innere Ausnahme 1:

OracleException: ORA-02291: Integritäts-Constraint (HR.FK_OrderDetails_Orders_OrderID) verletzt - übergeordneter Schlüssel nicht gefunden

ORA-06512: in Zeile 13

I suppose, that the Detail-Entry is stored before the Master-Entry is. With EF6 same code works fine.

Model.JPG

This post has been answered by user606112 on Jul 8 2020
Jump to Answer

Comments

Post Details

Added on Jul 7 2020
2 comments
227 views