EntityFrameworkCore.Exceptions.Common
Handle database errors easily when working with Entity Framework Core. Catch specific exceptions such as UniqueConstraintException, CannotInsertNullException, MaxLengthExceededException, NumericOverflowException or ReferenceConstraintException instead of generic DbUpdateException This is a base package for database specific packages. Install one of the specific packages instead of this
Install
dotnet add package EntityFrameworkCore.Exceptions.Common --version 8.0.0.2
Install-Package EntityFrameworkCore.Exceptions.Common -Version 8.0.0.2
<PackageReference Include="EntityFrameworkCore.Exceptions.Common" Version="8.0.0.2" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.