Handle strongly typed exceptions when using Entity Framework Core and Oracle — oracle-tech

    Forum Stats

  • 3,708,677 Users
  • 2,241,108 Discussions
  • 7,840,528 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Handle strongly typed exceptions when using Entity Framework Core and Oracle

GiorgiGiorgi Posts: 10 Red Ribbon

Hello,

I want to introduce my library https://github.com/Giorgi/EntityFramework.Exceptions which allows you to handle strongly typed exceptions (UniqueConstraintException, CannotInsertNullException, MaxLengthExceededException, etc) instead of handling DbUpdateException and digging in the nested InnerException to find the OracleException and the error number that was returned from the database. With the latest release it now supports Oracle as well so you are welcome to use it in your projects.

Let me know if you have any questions or suggestions feel free to share

Alex Keh-Oracle
Sign In or Register to comment.