System.Data.SqlClient
4.5.0
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package System.Data.SqlClient -Version 4.5.0
dotnet add package System.Data.SqlClient --version 4.5.0
<PackageReference Include="System.Data.SqlClient" Version="4.5.0" />
paket add System.Data.SqlClient --version 4.5.0
#r "nuget: System.Data.SqlClient, 4.5.0"
// Install System.Data.SqlClient as a Cake Addin
#addin nuget:?package=System.Data.SqlClient&version=4.5.0
// Install System.Data.SqlClient as a Cake Tool
#tool nuget:?package=System.Data.SqlClient&version=4.5.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:
System.Data.SqlClient.SqlConnection
System.Data.SqlClient.SqlException
System.Data.SqlClient.SqlParameter
System.Data.SqlDbType
System.Data.SqlClient.SqlDataReader
System.Data.SqlClient.SqlCommand
System.Data.SqlClient.SqlTransaction
System.Data.SqlClient.SqlParameterCollection
System.Data.SqlClient.SqlClientFactory
30ab651fcb4354552bd4891619a0bdd81e0ebdbf
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 |
| .NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
| .NET Standard | netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
| .NET Framework | net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
| MonoAndroid | monoandroid monoandroid10 |
| MonoMac | monomac |
| MonoTouch | monotouch monotouch10 |
| Tizen | tizen30 tizen40 tizen60 |
| Universal Windows Platform | uap uap10.0 uap10.0.16299 uap10.0.16300 |
| Windows Phone | wpa81 |
| Windows Store | netcore451 |
| Xamarin.iOS | xamarinios xamarinios10 |
| Xamarin.Mac | xamarinmac xamarinmac20 |
| Xamarin.TVOS | xamarintvos xamarintvos10 |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos10 |
-
.NETCoreApp 2.0
- Microsoft.Win32.Registry (>= 4.5.0)
- runtime.native.System.Data.SqlClient.sni (>= 4.4.0)
- System.Diagnostics.DiagnosticSource (>= 4.5.0)
- System.Memory (>= 4.5.0)
- System.Security.Principal.Windows (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
-
.NETCoreApp 2.1
- Microsoft.Win32.Registry (>= 4.5.0)
- runtime.native.System.Data.SqlClient.sni (>= 4.4.0)
- System.Security.Principal.Windows (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
-
.NETFramework 4.5.1
- System.Data.Common (>= 4.3.0)
-
.NETFramework 4.6
- System.Data.Common (>= 4.3.0)
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 1.2
- NETStandard.Library (>= 1.6.1)
- System.Data.Common (>= 4.3.0)
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- runtime.native.System.Data.SqlClient.sni (>= 4.4.0)
- System.Data.Common (>= 4.3.0)
- System.Diagnostics.DiagnosticSource (>= 4.4.1)
- System.IO.Pipes (>= 4.3.0)
- System.Net.NameResolution (>= 4.3.0)
- System.Net.Security (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.4.0)
- System.Security.Principal (>= 4.3.0)
- System.Security.Principal.Windows (>= 4.4.0)
- System.Text.Encoding.CodePages (>= 4.4.0)
- System.Threading.Thread (>= 4.3.0)
- System.Threading.ThreadPool (>= 4.3.0)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 4.5.0)
- runtime.native.System.Data.SqlClient.sni (>= 4.4.0)
- System.Buffers (>= 4.4.0)
- System.Diagnostics.DiagnosticSource (>= 4.5.0)
- System.Memory (>= 4.5.0)
- System.Security.Principal.Windows (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
-
MonoAndroid 1.0
- No dependencies.
-
MonoTouch 1.0
- No dependencies.
-
Portable Class Library (Portable Class Library, Windows 8.1, WindowsPhoneApp 8.1)
- System.Data.Common (>= 4.3.0)
-
UAP 10.0.16299
- Microsoft.NETCore.Platforms (>= 2.0.0)
- System.Diagnostics.DiagnosticSource (>= 4.5.0)
- System.Memory (>= 4.5.0)
-
UAP 10.0.16300
- Microsoft.NETCore.Platforms (>= 2.0.0)
- System.Diagnostics.DiagnosticSource (>= 4.5.0)
-
Windows 8.1
- System.Data.Common (>= 4.3.0)
-
WindowsPhoneApp 8.1
- System.Data.Common (>= 4.3.0)
-
Xamarin.iOS 1.0
- No dependencies.
-
Xamarin.Mac 2.0
- No dependencies.
-
Xamarin.TVOS 1.0
- No dependencies.
-
Xamarin.WatchOS 1.0
- No dependencies.
NuGet packages (10)
Showing the top 5 NuGet packages that depend on System.Data.SqlClient:
| Package | Downloads |
|---|---|
|
Microsoft.ApplicationInsights.DependencyCollector
Application Insights Dependency Collector for .NET applications. This is a dependent package for Application Insights platform specifc packages and provides automatic collection of dependency telemetry. Please install the platform specific packages directly for the best experience. Privacy statement: https://go.microsoft.com/fwlink/?LinkId=512156 |
|
|
Microsoft.Extensions.Caching.SqlConfig.Tools
Command line tool to create tables and indexes in a Microsoft SQL Server database for distributed caching. |
|
|
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/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a |
|
|
EntityFramework
Entity Framework 6 (EF6) is a tried and tested object-relational mapper for .NET with many years of feature development and stabilization. |
|
|
EFCore.BulkExtensions
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete and Read (CRUD) operations on SQL Server. |