EntityFrameworkCore.Exceptions.PostgreSQL
3.1.4
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
Install-Package EntityFrameworkCore.Exceptions.PostgreSQL -Version 3.1.4
dotnet add package EntityFrameworkCore.Exceptions.PostgreSQL --version 3.1.4
<PackageReference Include="EntityFrameworkCore.Exceptions.PostgreSQL" Version="3.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.Exceptions.PostgreSQL --version 3.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EntityFrameworkCore.Exceptions.PostgreSQL, 3.1.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install EntityFrameworkCore.Exceptions.PostgreSQL as a Cake Addin
#addin nuget:?package=EntityFrameworkCore.Exceptions.PostgreSQL&version=3.1.4
// Install EntityFrameworkCore.Exceptions.PostgreSQL as a Cake Tool
#tool nuget:?package=EntityFrameworkCore.Exceptions.PostgreSQL&version=3.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Release Notes
Populate Entries property of the exceptions
Dependencies
-
.NETStandard 2.0
- EntityFrameworkCore.Exceptions.Common (>= 3.1.4)
- Npgsql (>= 4.1.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
3.1.4 | 5,545 | 2/12/2021 |
3.1.1 | 22,832 | 1/22/2020 |
1.0.1 | 11,275 | 6/11/2019 |
1.0.0 | 987 | 1/23/2019 |
0.1.0-beta | 324 | 12/5/2018 |