Skip to content

Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.

License

Notifications You must be signed in to change notification settings

yukiwongky/SqlClient

 
 

Repository files navigation

GitHub license Nuget Gitter

Microsoft SqlClient Data Provider for SQL Server

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.

Supportability

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.

Download

The Microsoft.Data.SqlClient NuGet package is available on NuGet.org.

SNI Package References

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.

Note When referencing the native SNI.dll on Windows, the Microsoft Visual C++ Redistributable is required to be installed: The latest supported Visual C++ downloads

Helpful Links

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

Our Featured Contributors

Special thanks to everyone who has contributed to the project. We thank you for your continuous support in improving the SqlClient library!

Up-to-date list of contributors: Contributor Insights

Release Notes

All preview and stable driver release notes are available under release-notes.

Porting from System.Data.SqlClient

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.

Still have questions?

Check out our FAQ. Still not answered? Create an issue to ask a question.

License

The Microsoft.Data.SqlClient Driver for SQL Server is licensed under the MIT license. See the LICENSE file for more details.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

About

Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 89.3%
  • TSQL 8.7%
  • 1C Enterprise 1.8%
  • HTML 0.2%
  • Batchfile 0.0%
  • PowerShell 0.0%