Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
Перейти к файлу
Michel Zehnder 1348c3c0a9
Improve timeout of tests (#3026)
* Improve timeout of tests

* Increate timeout for column creation in setup
2024-11-22 14:28:50 -08:00
.config Merged PR 4583: eng | Fix policheck errors. 2024-05-24 20:05:54 +00:00
.github/ISSUE_TEMPLATE Add default label for all new issues (#2986) 2024-11-08 16:28:50 -08:00
doc Fix build (#3020) 2024-11-19 09:11:43 -08:00
eng/pipelines Improve build times - Split X86, Parallelize Code Coverage generation (#2992) 2024-11-15 14:08:24 -08:00
release-notes Release notes 6.0.0 preview 2 (#2924) 2024-10-30 13:11:41 -07:00
src Improve timeout of tests (#3026) 2024-11-22 14:28:50 -08:00
tools Update SMO (#3032) 2024-11-22 14:28:25 -08:00
.dockerignore Introduce Docker debugging with Docker Compose orchestration support (#471) 2020-04-21 10:25:30 -07:00
.editorconfig Test | Removing internal build of XunitExtensions and using the nuget (#2033) 2023-10-23 14:39:55 -07:00
.gitattributes Upload source code for Microsoft.Data.SqlClient (#166) 2019-08-28 08:33:49 -07:00
.gitignore Fix | SqlBuffer.SqlGuid (#2310) 2024-04-09 12:04:53 -07:00
BUILDGUIDE.md Clean up build guide and docs after net6 removal (#2944) 2024-11-05 14:15:02 -08:00
CHANGELOG.md Release notes 6.0.0 preview 2 (#2924) 2024-10-30 13:11:41 -07:00
CODE_OF_CONDUCT.md GitHub Repository doc updates + NuGet.config uniformity (#188) 2019-09-11 16:16:45 -07:00
CONTRIBUTING.md GitHub Repository doc updates + NuGet.config uniformity (#188) 2019-09-11 16:16:45 -07:00
COPYRIGHT.md GitHub Repository doc updates + NuGet.config uniformity (#188) 2019-09-11 16:16:45 -07:00
LICENSE Initial commit 2019-02-28 11:01:49 -08:00
NOTICE.txt Update Notice (#1938) 2023-03-03 11:20:14 -08:00
NuGet.config Moved NuGet.config to the root (#2443) 2024-04-03 18:02:40 -07:00
README.md Clean up build guide and docs after net6 removal (#2944) 2024-11-05 14:15:02 -08:00
RunPackageReferenceTests.cmd Drop net6 support (#2927) 2024-10-31 08:57:57 -07:00
RunProjectReferenceTests.cmd Remove NetStandard from AddOns scripts (#2977) 2024-11-05 19:01:13 -08:00
RunTests.sh commit (#1166) 2021-07-14 09:55:56 -07:00
SUPPORT.md SUPPORT doc tweak (#1830) 2022-11-09 14:24:59 -08:00
build.proj Drop net6 support (#2927) 2024-10-31 08:57:57 -07:00
buildAddons.cmd Remove NetStandard from AddOns scripts (#2977) 2024-11-05 19:01:13 -08:00
coding-style.md Update coding-style.md (#405) 2020-02-04 13:42:23 -08:00
contributing-workflow.md Clean up build guide and docs after net6 removal (#2944) 2024-11-05 14:15:02 -08:00
porting-cheat-sheet.md docs: Update porting cheat sheet to include mention of backward incompable connection string changes (#2975) 2024-11-05 15:48:24 -06:00
roadmap.md 5.0.0-preview1 release notes (#1538) 2022-03-10 11:30:17 -08:00

README.md

GitHub license Nuget Build status

Microsoft SqlClient Data Provider for SQL Server

Microsoft.Data.SqlClient is a .NET data provider for Microsoft SQL Server and the Azure SQL family of databases. It grew from 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 and Azure SQL features will only be implemented in Microsoft.Data.SqlClient.

Supportability

The Microsoft.Data.SqlClient package supports the following environments:

  • .NET Framework 4.6.2+
  • .NET 8.0

Download

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

SNI Package References

When targeting .NET Framework on Windows, a package reference to Microsoft.Data.SqlClient.SNI loads native Microsoft.Data.SqlClient.SNI.<platform>.dll libraries into the client's build directories.

When targeting .NET on Windows, a package reference to Microsoft.Data.SqlClient.SNI.runtime loads arm64, x64 and x86 native Microsoft.Data.SqlClient.SNI.dll libraries into subdirectories in the client's build directory.

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!

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 enhancing this guide for future developers.

Still have questions?

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

Security

Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include Microsoft, Azure, DotNet, AspNet, Xamarin, and our GitHub organizations.

If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's Microsoft's definition of a security vulnerability, please report it to us as described below.

Reporting Security Issues

Please do not report security vulnerabilities through public GitHub issues.

Instead, please report them to the Microsoft Security Response Center (MSRC) at https://msrc.microsoft.com/create-report.

If you prefer to submit without logging in, send email to secure@microsoft.com. If possible, encrypt your message with our PGP key; please download it from the Microsoft Security Response Center PGP Key page.

You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at microsoft.com/msrc.

Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:

  • Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
  • Full paths of source file(s) related to the manifestation of the issue
  • The location of the affected source code (tag/branch/commit or direct URL)
  • Any special configuration required to reproduce the issue
  • Step-by-step instructions to reproduce the issue
  • Proof-of-concept or exploit code (if possible)
  • Impact of the issue, including how an attacker might exploit the issue

This information will help us triage your report more quickly.

If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our Microsoft Bug Bounty Program page for more details about our active programs.

Preferred Languages

We prefer all communications to be in English.

Policy

Microsoft follows the principle of Coordinated Vulnerability Disclosure.

License

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

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.