NuGet Package Microsoft.Data.SqlClient

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.




Got any Microsoft.Data.SqlClient Question?





Info

Version: 5.2.0
Author(s): Microsoft
Last Update: Wednesday, February 28, 2024
.NET Fiddle: Online Example
Project Url: https://aka.ms/sqlclientproject
NuGet Url: https://www.nuget.org/packages/Microsoft.Data.SqlClient


Install
Install-Package Microsoft.Data.SqlClient
dotnet add package Microsoft.Data.SqlClient
paket add Microsoft.Data.SqlClient
Microsoft.Data.SqlClient Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 net46 netcoreapp2.1 netcoreapp3.1 netstandard2.1 359 packages depend on this package.


Tags



STATS

must-have-score

5

avg-downloads-per-day

286134

days-since-last-release

4