NHibernate.Driver.MySqlConnector 2.0.4

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Standard 2.0 .NET Framework 4.6.1
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package NHibernate.Driver.MySqlConnector --version 2.0.4
NuGet\Install-Package NHibernate.Driver.MySqlConnector -Version 2.0.4
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="NHibernate.Driver.MySqlConnector" Version="2.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NHibernate.Driver.MySqlConnector --version 2.0.4
#r "nuget: NHibernate.Driver.MySqlConnector, 2.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NHibernate.Driver.MySqlConnector as a Cake Addin
#addin nuget:?package=NHibernate.Driver.MySqlConnector&version=2.0.4

// Install NHibernate.Driver.MySqlConnector as a Cake Tool
#tool nuget:?package=NHibernate.Driver.MySqlConnector&version=2.0.4

NHibernate.MySqlConnector

This package provides an alternative MySQL/MariaDB driver for NHibernate in addition to NHibernate.Driver.MySqlDataDriver provided by nhibernate-core.

It uses the MySqlConnector library which is an alternative to MySql.Data that may be more performant in both async and sync workloads and fixes dozens of outstanding bugs in MySql.Data.

Usage

Set connection.driver_class in your NHibernate session factory config to:

  • connection.driver_class: NHibernate.Driver.MySqlConnector.MySqlConnectorDriver, NHibernate.Driver.MySqlConnector

or use the Configure-by-code helper:

  • new Configuration().DataBaseIntegration(c => c.MySqlConnectorDriver());

Values of the other parameters should stay the same as when using MySql.Data:

  • connection.provider: NHibernate.Connection.DriverConnectionProvider

  • dialect: One of the available MySQL dialects e.g. NHibernate.Dialect.MySQL5Dialect

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
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.5-ci.4 48 4/25/2023
2.0.5-ci.3 42 4/25/2023
2.0.5-ci.2 118 11/21/2022
2.0.5-ci.1 67 11/7/2022
2.0.4 5,537 10/6/2022
2.0.4-ci.2 68 10/6/2022
2.0.4-ci.1 78 10/4/2022
2.0.3 1,031 9/9/2022
2.0.3-ci.4 83 9/9/2022
2.0.0 22,791 7/12/2020
1.0.1 545 6/17/2020
1.0.0 2,555 4/19/2020