Coder Social home page Coder Social logo

g-thanhdl / mysqlconnector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mysql-net/mysqlconnector

0.0 1.0 0.0 2.56 MB

Async MySQL Connector for .NET and .NET Core

Home Page: https://mysql-net.github.io/MySqlConnector/

License: MIT License

Shell 0.61% Batchfile 0.11% PowerShell 0.33% C# 98.95%

mysqlconnector's Introduction

Async MySQL Connector for .NET and .NET Core

Complete documentation is available at the MySqlConnector Documentation Website.

Build Status

Ubuntu 14.04 Windows x64 NuGet
Travis CI AppVeyor NuGet Pre Release

About

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.

This is a clean-room reimplementation of the MySQL Protocol and is not based on the official connector. It’s fully async, supporting the async ADO.NET methods added in .NET 4.5 without blocking (or using Task.Run to run synchronous methods on a background thread). It’s also 100% compatible with .NET Core.

This library is compatible with popular .NET ORMs including:

For Entity Framework support, use:

Building

Install the latest .NET Core.

To build and run the tests, clone the repo and execute:

dotnet restore
dotnet test tests\MySqlConnector.Tests

To run the side-by-side tests, see the instructions.

Goals

The goals of this project are:

  1. .NET Core support: It must compile and run under .NET Core.
  2. Async: All operations must be truly asynchronous whenever possible.
  3. High performance: Avoid unnecessary allocations and copies when reading data.
  4. Lightweight: Only the core of ADO.NET is implemented, not EF or Designer types.
  5. Managed: Managed code only, no native code.

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. For common scenarios, this package should be a drop-in replacement.

License

This library is licensed under the MIT License.

mysqlconnector's People

Contributors

bgrainger avatar caleblloyd avatar ejball avatar adampoit avatar drake103 avatar michi84o avatar nicholi avatar kobake avatar thorium avatar sebastienros avatar sebastianc avatar ktos avatar jeremylcarter avatar dustinsoftware avatar dgilbert avatar ddunkin avatar daniel15 avatar bnabholz avatar elemount avatar

Watchers

ThanhDL avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.