This is pre-release, alpha-quality software. There is no published NuGet package for it yet; you must compile from source (see below).
This is an ADO.NET data
provider for MySQL. It provides implementations of
DbConnection
, DbCommand
, DbDataReader
, DbTransaction
— the classes
needed to query and update databases from managed code. It's compatible with
popular data access libraries such as Dapper.
Ubuntu 14.04 | Windows x64 |
---|---|
(none) |
Install the latest dotnet-cli.
To build and run the tests, clone the repo and execute:
dotnet restore
dotnet test tests\MySql.Data.Tests
To run the side-by-side tests, see the instructions.
The goals of this project are:
- .NET Core support: It must compile and run under CoreCLR.
- Async: All operations must be truly asynchronous whenever possible.
- High performance: Avoid unnecessary allocations and copies when reading data.
- Lightweight: Only the core of ADO.NET is implemented, not EF or Designer types.
Cloning the full API of the official MySql.Data is not a goal of this project, although it will try not to be gratuitously incompatible.
This library is licensed under LGPL v3.