Microsoft.Data.SqlClient
2.1.0
Advisory: https://github.com/advisories/GHSA-8g2p-5pqh-5jmc | Severity: moderate |
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package Microsoft.Data.SqlClient --version 2.1.0
NuGet\Install-Package Microsoft.Data.SqlClient -Version 2.1.0
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.0" />
paket add Microsoft.Data.SqlClient --version 2.1.0
#r "nuget: Microsoft.Data.SqlClient, 2.1.0"
// Install Microsoft.Data.SqlClient as a Cake Addin
#addin nuget:?package=Microsoft.Data.SqlClient&version=2.1.0
// Install Microsoft.Data.SqlClient as a Cake Tool
#tool nuget:?package=Microsoft.Data.SqlClient&version=2.1.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.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETCoreApp 2.1
- Microsoft.Data.SqlClient.SNI.runtime (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Diagnostics.DiagnosticSource (>= 4.7.0)
- System.Runtime.Caching (>= 4.7.0)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
-
.NETCoreApp 3.1
- Microsoft.Data.SqlClient.SNI.runtime (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Diagnostics.DiagnosticSource (>= 4.7.0)
- System.Runtime.Caching (>= 4.7.0)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
-
.NETFramework 4.6
- Microsoft.Data.SqlClient.SNI (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
-
.NETStandard 2.0
- Microsoft.Data.SqlClient.SNI.runtime (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
-
.NETStandard 2.1
- Microsoft.Data.SqlClient.SNI.runtime (>= 2.1.1)
- Microsoft.Identity.Client (>= 4.21.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.8.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.8.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
NuGet packages (972)
Showing the top 5 NuGet packages that depend on Microsoft.Data.SqlClient:
Package | Downloads |
---|---|
Microsoft.EntityFrameworkCore.SqlServer
Microsoft SQL Server database provider for Entity Framework Core. |
|
Microsoft.Extensions.Caching.SqlServer
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Microsoft SQL Server. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/5ae8106f83d4d23cd0a2d2474c1b15e4d5dfc9eb |
|
AspNetCore.HealthChecks.SqlServer
HealthChecks.SqlServer is the health check package for SqlServer. |
|
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite |
|
Serilog.Sinks.MSSqlServer
A Serilog sink that writes events to Microsoft SQL Server |
GitHub repositories (136)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Data.SqlClient:
Repository | Stars |
---|---|
DapperLib/Dapper
Dapper - a simple object mapper for .Net
|
|
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
|
|
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
|
|
HangfireIO/Hangfire
An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
|
|
nopSolutions/nopCommerce
ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
|
Version | Downloads | Last updated | |
---|---|---|---|
5.1.1 | 20,179 | 3/28/2023 | |
5.1.0 | 1,599,589 | 1/19/2023 | |
5.1.0-preview2.22314.2 | 45,768 | 11/10/2022 | |
5.1.0-preview1.22279.3 | 14,062 | 10/6/2022 | |
5.0.1 | 9,351,980 | 10/8/2022 | |
5.0.0 | 2,766,289 | 8/5/2022 | |
5.0.0-preview3.22168.1 | 9,958 | 6/17/2022 | |
5.0.0-preview2.22096.2 | 116,690 | 4/6/2022 | |
5.0.0-preview1.22069.1 | 7,796 | 3/10/2022 | |
4.1.1 | 602,577 | 9/13/2022 | |
4.1.0 | 10,533,296 | 1/31/2022 | |
4.0.2 | 63,379 | 9/13/2022 | |
4.0.1 | 1,235,206 | 1/17/2022 | |
4.0.0 | 5,125,994 | 11/19/2021 | |
4.0.0-preview3.21293.2 | 100,073 | 10/20/2021 | |
4.0.0-preview2.21264.2 | 11,027 | 9/21/2021 | |
4.0.0-preview1.21237.2 | 184,468 | 8/25/2021 | |
3.1.3 | 11,096 | 3/10/2023 | |
3.1.2 | 15,659 | 2/3/2023 | |
3.1.1 | 463,859 | 8/12/2022 | |
3.1.0 | 895,109 | 3/30/2022 | |
3.0.1 | 13,203,784 | 9/24/2021 | |
3.0.0 | 9,513,434 | 6/9/2021 | |
3.0.0-preview3.21140.5 | 7,666 | 5/20/2021 | |
3.0.0-preview2.21106.5 | 27,708 | 4/16/2021 | |
3.0.0-preview1.21075.2 | 109,084 | 3/16/2021 | |
2.1.5 | 425,428 | 8/30/2022 | |
2.1.4 | 46,658,661 | 9/21/2021 | |
2.1.3 | 2,234,185 | 5/21/2021 | |
2.1.2 | 15,275,883 | 3/3/2021 | |
2.1.1 | 8,214,303 | 12/18/2020 | |
2.1.0 | 2,909,768 | 11/19/2020 | |
2.1.0-preview2.20297.7 | 108,799 | 10/24/2020 | |
2.1.0-preview1.20235.1 | 164,896 | 8/22/2020 | |
2.0.1 | 51,129,765 | 8/25/2020 | |
2.0.0 | 11,530,224 | 6/16/2020 | |
2.0.0-preview4.20142.4 | 41,412 | 5/21/2020 | |
2.0.0-preview3.20122.2 | 87,727 | 5/1/2020 | |
2.0.0-preview2.20084.1 | 58,190 | 3/24/2020 | |
2.0.0-preview1.20021.1 | 263,546 | 1/21/2020 | |
1.1.4 | 728,232 | 3/10/2021 | |
1.1.3 | 40,363,883 | 5/15/2020 | |
1.1.2 | 1,476,958 | 4/15/2020 | |
1.1.1 | 10,625,022 | 2/14/2020 | |
1.1.0 | 5,187,283 | 11/20/2019 | |
1.1.0-preview2.19309.1 | 10,611 | 11/5/2019 | |
1.1.0-preview1.19275.1 | 80,121 | 10/2/2019 | |
1.0.19269.1 | 36,533,018 | 9/26/2019 | |
1.0.19249.1 | 8,888,207 | 9/6/2019 | |
1.0.19239.1 | 3,648,051 | 8/27/2019 | |
1.0.19221.1-Preview | 56,042 | 8/9/2019 | |
1.0.19189.1-Preview | 116,045 | 7/8/2019 | |
1.0.19128.1-Preview | 231,564 | 5/8/2019 | |
1.0.19123.2-Preview | 1,893 | 5/6/2019 |