EntityFrameworkCore.Exceptions.SqlServer
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.SqlServer -Version 3.1.4
dotnet add package EntityFrameworkCore.Exceptions.SqlServer --version 3.1.4
<PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" 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.SqlServer --version 3.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EntityFrameworkCore.Exceptions.SqlServer, 3.1.4"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
Release Notes
Populate Entries property of the exceptions
Dependencies
-
.NETStandard 2.0
- EntityFrameworkCore.Exceptions.Common (>= 3.1.4)
- Microsoft.Data.SqlClient (>= 1.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 | 1,041 | 2/12/2021 |
3.1.1 | 23,946 | 1/22/2020 |
1.0.1 | 9,755 | 6/11/2019 |
1.0.0 | 321 | 1/23/2019 |
0.1.0-beta | 296 | 12/5/2018 |