Skip to content

Commit

Permalink
Added EntityFramework.Exceptions (#3106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgi authored Feb 21, 2021
1 parent 3a58d99 commit e225519
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion entity-framework/core/extensions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Tools & Extensions - EF Core
description: External tools and extensions for Entity Framework Core
author: ErikEJ
ms.date: 01/06/2021
ms.date: 02/21/2021
uid: core/extensions/index
---

Expand Down Expand Up @@ -271,3 +271,12 @@ Enables reverse engineering an EF Core model from a SQL Server data-tier applica
Generate DGML (Graph) content that visualizes your DbContext. Adds the AsDgml() extension method to the DbContext class. For EF Core: 3, 5.

[GitHub wiki](https://github.com/ErikEJ/EFCorePowerTools/wiki/Inspect-your-DbContext-model)

### EntityFramework.Exceptions

When using Entity Framework Core all database exceptions are wrapped in DbUpdateException. EntityFramework.Exceptions handles all the database-specific details to find which constraint was violated and allows you to use typed exceptions such as `UniqueConstraintException`,
`CannotInsertNullException`, `MaxLengthExceededException`, `NumericOverflowException`, `ReferenceConstraintException` when your query violates database constraints.

For EF Core: 3, 5. Supports SQL Server, Postgres, MySql, SQLite and Oracle

[GitHub Repository](https://github.com/Giorgi/EntityFramework.Exceptions)

0 comments on commit e225519

Please sign in to comment.