Welcome to the home of the Microsoft ADO.NET driver for SQL Server aka the Microsoft.Data.SqlClient GitHub repository.
Microsoft.Data.SqlClient is a data provider for Microsoft SQL Server and Azure SQL Database. Now in General Availability, it is a union of the two System.Data.SqlClient components which live independently in .NET Framework and .NET Core. Going forward, support for new SQL Server features will be implemented in Microsoft.Data.SqlClient.
The Microsoft.Data.SqlClient package supports the below environments:
- .NET Framework 4.6+
- .NET Core 2.1+
- .NET Standard 2.0+.
The source code of this library is now available under the MIT license.
The Microsoft.Data.SqlClient NuGet package is available on NuGet.org.
For the .NET Framework driver on Windows, a package reference to Microsoft.Data.SqlClient.SNI loads x64
and x86
native SNI.dll
libraries into the client's build directories.
For the .NET Core driver on Windows, a package reference to runtime.native.System.Data.SqlClient.sni loads arm64
, x64
and x86
native SNI.dll
libraries into the client's build directories.
Topic | Link to File |
---|---|
Coding Style | coding-style.md |
Guidelines for building the driver | BUILDGUIDE.md |
Guidelines for Contributors | CONTRIBUTING.md |
Changelog for all driver releases | CHANGELOG.md |
Support Policy | SUPPORT.md |
Code of Conduct | CODE_OF_CONDUCT.md |
Copyright Information | COPYRIGHT.md |
Special thanks to everyone who has contributed to the project. We thank you for your continuous support in improving the SqlClient library!
- Wraith (@Wraith2)
- Erik Ejlskov Jensen (@ErikEJ)
- Stefán Jökull Sigurðarson (@stebet)
- Stephen Toub (@stephentoub)
- Shay Rojansky (@roji)
- Rasmus Melchior Jacobsen (@rmja)
- Phillip Haydon (@phillip-haydon)
- Robin Sue (@Suchiman)
Up-to-date list of contributors: Contributor Insights
All preview and stable driver release notes are available under release-notes.
Refer to porting-cheat-sheet.md for a safe porting experience from System.Data.SqlClient to Microsoft.Data.SqlClient and share your experience with us by advancing this guide for future developers.
Check out our FAQ. Still not answered? Create an issue to ask a question.
The Microsoft.Data.SqlClient Driver for SQL Server is licensed under the MIT license. See the LICENSE file for more details.