Skip to main content
.NETFramework4.6.NETCoreApp2.1.NETStandard2.0

Provides the data provider for SQL Server. These classes provide access to versions of SQL Server and encapsulate database-specific protocols, including tabular data stream (TDS) Commonly Used Types: Microsoft.Data.SqlClient.SqlConnection Microsoft.Data.SqlClient.SqlException Microsoft.Data.SqlClient.SqlParameter Microsoft.Data.SqlClient.SqlDataReader Microsoft.Data.SqlClient.SqlCommand Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.

Published
Jul 8, 2019
7y ago
Total Downloads
1.6B
1,624,121,266

Deprecated Package Version

Reason: CriticalBugs

An important security issue exists in this version of the package. It is recommended to update to a newer version. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056

Known Vulnerabilities (2)

Install

dotnet add package Microsoft.Data.SqlClient --version 1.0.19189.1-Preview
ProductVersions
.NET Standard
netstandard2.0
Other
.NETCoreApp2.1.NETFramework4.6

README

Changes from Previous Version

v1.0.19128.1-Previewv1.0.19189.1-Preview
Added Frameworks
.NETFramework4.6.NETCoreApp2.1.NETStandard2.0

Adoption Assessment

Workloads running on SQL Server family platforms that need current security and connectivity features.

Databases Guide
This version is marked prerelease. Validate its API and upgrade path before production use.NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.Published vulnerability advisories exist for this version. Read the advisory and choose a remediated version before release.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Editorial Note: Modern SQL Server data provider for .NET with active support for SQL Server and Azure SQL scenarios. Trade-off: Provider behavior and defaults should be validated during major version upgrades.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.