HyperDev.Data.DB2
1.2.6
dotnet add package HyperDev.Data.DB2 --version 1.2.6
NuGet\Install-Package HyperDev.Data.DB2 -Version 1.2.6
<PackageReference Include="HyperDev.Data.DB2" Version="1.2.6" />
<PackageVersion Include="HyperDev.Data.DB2" Version="1.2.6" />
<PackageReference Include="HyperDev.Data.DB2" />
paket add HyperDev.Data.DB2 --version 1.2.6
#r "nuget: HyperDev.Data.DB2, 1.2.6"
#:package HyperDev.Data.DB2@1.2.6
#addin nuget:?package=HyperDev.Data.DB2&version=1.2.6
#tool nuget:?package=HyperDev.Data.DB2&version=1.2.6
HyperDev.Data.DB2
IBM Db2 provider for HyperDev.Data, part of the HyperDev Fatum framework. Based on the IBM drivers for Windows (Net.IBM.Data.Db2, IBM.EntityFrameworkCore); for Linux use HyperDev.Data.DB2-lnx.
DB2ProviderandDB2ConnectionInfoin theHyperDev.Data.DB2namespace (provider nameIBM.Data.DB2.Client)- Bulk copy, sequences, temporary tables and stored procedures through the HyperDev.Data
DatabaseAPI - Query clauses (
DB2QueryOptimizer):DataContext.WithReadOnlyaddsFOR READ ONLY,DataContext.WithNoLockaddsWITH UR
Installation
dotnet add package HyperDev.Data.DB2
Quick start
using System.Data;
using HyperDev.Data;
using HyperDev.Data.DB2;
DatabaseProviderFactories.Register(DB2Provider.Instance);
var connectionInfo = new DB2ConnectionInfo("Server=dbhost:50000;Database=SHOP;UID=db2user;PWD=secret");
var database = connectionInfo.GetDatabase();
var count = database.ExecuteScalar(CommandType.Text, "SELECT COUNT(*) FROM SHOP.CUSTOMERS");
For named connections in appsettings.json use "Provider": "IBM.Data.DB2.Client".
See HyperDev.Data for contexts, mapping and configuration.
Requirements
The IBM packages (Net.IBM.Data.Db2, IBM.EntityFrameworkCore) are distributed under the IBM proprietary license. Connecting to DB2 for z/OS or DB2 for IBM i also requires a DB2 Connect license.
Target frameworks
.NET 8.0, .NET 10.0
License
MIT, © Ivan Senatore, Wemake Informatica srl. Third-party dependencies keep their own licenses (Net.IBM.Data.Db2, IBM.EntityFrameworkCore: IBM proprietary license; Entity Framework Core: MIT).
| 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. |
-
net10.0
- HyperDev.Core (>= 1.2.4)
- HyperDev.Data (>= 1.2.4)
- IBM.EntityFrameworkCore (>= 10.0.0.100)
- Net.IBM.Data.Db2 (>= 10.0.0.200)
-
net8.0
- HyperDev.Core (>= 1.2.4)
- HyperDev.Data (>= 1.2.4)
- IBM.EntityFrameworkCore (>= 8.0.0.200)
- Net.IBM.Data.Db2 (>= 8.0.0.200)
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 |
|---|---|---|
| 1.2.6 | 86 | 11/8/2026 |
| 1.2.5 | 82 | 11/8/2026 |
| 1.2.4 | 92 | 11/7/2026 |
| 1.2.3 | 101 | 11/4/2026 |
| 1.2.2 | 131 | 10/7/2026 |
| 1.2.1 | 156 | 9/7/2026 |
| 1.2.0 | 152 | 7/29/2026 |
| 1.1.5 | 140 | 7/27/2026 |
| 1.1.4 | 158 | 7/7/2026 |
| 1.1.3 | 160 | 3/19/2026 |
| 1.1.2 | 177 | 1/7/2026 |
| 1.1.1 | 284 | 12/10/2024 |
| 1.1.0.2 | 291 | 9/23/2024 |
| 1.1.0.1 | 226 | 9/20/2024 |
| 1.1.0 | 262 | 7/17/2024 |
| 1.0.8 | 255 | 7/10/2024 |
| 1.0.7.1 | 292 | 2/13/2024 |
| 1.0.7 | 395 | 7/3/2023 |
| 1.0.6 | 345 | 7/3/2023 |
| 1.0.5 | 325 | 6/27/2023 |