Skip to main content
.NETFramework4.6.2net10.0.NETStandard2.0

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.

Published
Nov 9, 2026
11d ago
Total Downloads
1.8B
1,774,998,548

Install

dotnet add package Microsoft.Data.SqlClient --version 8.0.0-preview1.26313.4
ProductVersions
.NET
net10.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

README

Changes from Previous Version

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.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.The published metadata declares 37 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.