EntityFrameworkCore.Exceptions.MySQL.Pomelo 6.0.3

.NET 6.0
dotnet add package EntityFrameworkCore.Exceptions.MySQL.Pomelo --version 6.0.3
NuGet\Install-Package EntityFrameworkCore.Exceptions.MySQL.Pomelo -Version 6.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EntityFrameworkCore.Exceptions.MySQL.Pomelo" Version="6.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.Exceptions.MySQL.Pomelo --version 6.0.3
#r "nuget: EntityFrameworkCore.Exceptions.MySQL.Pomelo, 6.0.3"
#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.MySQL.Pomelo as a Cake Addin
#addin nuget:?package=EntityFrameworkCore.Exceptions.MySQL.Pomelo&version=6.0.3

// Install EntityFrameworkCore.Exceptions.MySQL.Pomelo as a Cake Tool
#tool nuget:?package=EntityFrameworkCore.Exceptions.MySQL.Pomelo&version=6.0.3

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

Use this package if you use Pomelo.EntityFrameworkCore.MySql Entity Framework Core provider for MySQL

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on EntityFrameworkCore.Exceptions.MySQL.Pomelo:

Package Downloads

DevPrime State


A free library for ASP.NET Core 6+ Microservices development, with Model, Model Repository, Entity Framework Core and common Web Api features like CORS, Json serialization fixes, Swagger generation, JWT Authentication for simple and objective microservices development



GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.3 7,313 3/16/2022
3.1.4 65,525 2/12/2021
3.1.2 20,976 4/23/2020

Update to .NET 6 and EF Core 6.0