XCell.EntityFrameworkCore.MySql 2.0.0.1-Resilliency

.NET Standard 2.0
This is a prerelease version of XCell.EntityFrameworkCore.MySql.
dotnet add package XCell.EntityFrameworkCore.MySql --version 2.0.0.1-Resilliency
NuGet\Install-Package XCell.EntityFrameworkCore.MySql -Version 2.0.0.1-Resilliency
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="XCell.EntityFrameworkCore.MySql" Version="2.0.0.1-Resilliency" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XCell.EntityFrameworkCore.MySql --version 2.0.0.1-Resilliency
#r "nuget: XCell.EntityFrameworkCore.MySql, 2.0.0.1-Resilliency"
#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 XCell.EntityFrameworkCore.MySql as a Cake Addin
#addin nuget:?package=XCell.EntityFrameworkCore.MySql&version=2.0.0.1-Resilliency&prerelease

// Install XCell.EntityFrameworkCore.MySql as a Cake Tool
#tool nuget:?package=XCell.EntityFrameworkCore.MySql&version=2.0.0.1-Resilliency&prerelease

Fork of Pomelo.EntityFrameworkCore.MySql on 10/30/2017 at 3:14PM EST

Includes the Database Resiliency as seen in the SQL Server driver.

This is currently a pull request waiting for approval on the official site.

https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/pull/425

Three ways to use:

  1. Specify number of retries, how long of delay between retries and additional errors to trap.

var addErrors = new Collection<int>(); addErrors.Add(1); addErrors.Add(2); options.UseMySql(tenantConnectionString.ConnectionString, o ⇒ o.EnableRetryOnFailure(2, TimeSpan.FromSeconds(5),addErrors));

  1. Specify only number of retries.

options.UseMySql(tenantConnectionString.ConnectionString, o ⇒ o.EnableRetryOnFailure(2));

  1. Default to system defined 6 retries. options.UseMySql(tenantConnectionString.ConnectionString, o ⇒ o.EnableRetryOnFailure());
Product Versions
.NET net5.0 net5.0-windows 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
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0.1-Resilliency 901 10/31/2017