Zonkey.Data.MsSql
7.0.0
See the version list below for details.
dotnet add package Zonkey.Data.MsSql --version 7.0.0
NuGet\Install-Package Zonkey.Data.MsSql -Version 7.0.0
<PackageReference Include="Zonkey.Data.MsSql" Version="7.0.0" />
<PackageVersion Include="Zonkey.Data.MsSql" Version="7.0.0" />
<PackageReference Include="Zonkey.Data.MsSql" />
paket add Zonkey.Data.MsSql --version 7.0.0
#r "nuget: Zonkey.Data.MsSql, 7.0.0"
#:package Zonkey.Data.MsSql@7.0.0
#addin nuget:?package=Zonkey.Data.MsSql&version=7.0.0
#tool nuget:?package=Zonkey.Data.MsSql&version=7.0.0
Zonkey.Data.MsSql
SQL Server-specific extensions for Zonkey.Data. Provides Microsoft.Data.SqlClient integration and XML query support.
Installation
dotnet add package Zonkey.Data.MsSql
Requires: Zonkey.Data, Microsoft.Data.SqlClient
Setup
Call Initialize() at application startup:
using Zonkey;
MsSqlExtension.Initialize();
This registers the Microsoft.Data.SqlClient connection factory and configures proper SqlDbType.Time parameter handling.
Features
Provider Registration
Registers Microsoft.Data.SqlClient.SqlConnection with Zonkey's dialect system so the SQL Server dialect is automatically selected.
SqlXmlAdapter
Work with SQL Server's FOR XML queries:
using Zonkey.SqlServer;
var xmlAdapter = new SqlXmlAdapter(sqlConnection);
var doc = await xmlAdapter.GetXmlDocument("root",
"SELECT * FROM products FOR XML PATH('product')", false);
Methods:
GetXmlDocument()-- returns XmlDocument with wrapped root elementFillXmlNode()-- populates an existing XML nodeGetXmlString()-- returns raw XML string
Target Frameworks
- .NET 8.0
- .NET 10.0
- .NET Framework 4.8
Documentation
See the database providers guide for dialect details and the full documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Zonkey.Data (>= 7.0.0)
-
net10.0
- Microsoft.Data.SqlClient (>= 6.1.4)
- Zonkey.Data (>= 7.0.0)
-
net8.0
- Microsoft.Data.SqlClient (>= 6.1.4)
- Zonkey.Data (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.3 | 58 | 8/13/2026 |
| 7.0.1 | 91 | 8/6/2026 |
| 7.0.0 | 100 | 7/30/2026 |
| 6.5.0.5000-rc2 | 192 | 3/26/2025 |
| 6.2.1.2000 | 3,214 | 2/10/2025 |
| 6.1.0.1700 | 469 | 12/30/2022 |
| 6.0.0.1600 | 450 | 8/14/2022 |
Zonkey 7.0 is a major release with breaking changes. Packages now target .NET 8, .NET 10, and .NET Framework 4.8 (Zonkey.Text targets .NET Standard 2.0 and .NET Framework 4.8), and assemblies are no longer strong-name signed. Applications on .NET 7 or earlier (including .NET 5/6 and .NET Core), on .NET Framework before 4.8, or requiring strong-named assemblies should stay on the latest v6.x release. See https://github.com/kellybirr/zonkey for full documentation, and see the repository README's "Breaking Changes from v6.x" section for the complete list of API changes (such as WithTransaction) and WHERE-expression behavior changes. FillRange paging on SQL Server now uses OFFSET/FETCH and requires SQL Server 2012 or later.