Webinar – OSS Power-Ups: EntityFramework.Exceptions
When using Entity Framework Core for data access, all database exceptions are wrapped in DbUpdateException. If you need to know whether the exception was caused by a unique …
When using Entity Framework Core for data access, all database exceptions are wrapped in DbUpdateException. If you need to know whether the exception was caused by a unique …
In the previous article I introduced EntityFramework.Exceptions, a library which simplifies handling exceptions in Entity Framework Core but the library had one important …
Handle database errors easily when working with Entity Framework Core. Supports SQLServer, PostgreSQL, Oracle, SQLite and MySql
EntityFramework.Exceptions gives you typed exceptions such as UniqueConstraintException in Entity Framework Core, with no database error codes to check.