Skip to main content

The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL 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.

Total Downloads
1.8B
1,774,998,548
Published
Nov 13, 2026
7d ago

Get Started

dotnet add package Microsoft.Data.SqlClient --version 7.1.2
ProductVersions
.NET
net8.0net9.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

README

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

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

Databases Guide
Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 54 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
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.