HyperDev.Data.DB2-lnx 1.2.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package HyperDev.Data.DB2-lnx --version 1.2.4
                    
NuGet\Install-Package HyperDev.Data.DB2-lnx -Version 1.2.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HyperDev.Data.DB2-lnx" Version="1.2.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HyperDev.Data.DB2-lnx" Version="1.2.4" />
                    
Directory.Packages.props
<PackageReference Include="HyperDev.Data.DB2-lnx" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HyperDev.Data.DB2-lnx --version 1.2.4
                    
#r "nuget: HyperDev.Data.DB2-lnx, 1.2.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HyperDev.Data.DB2-lnx@1.2.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HyperDev.Data.DB2-lnx&version=1.2.4
                    
Install as a Cake Addin
#tool nuget:?package=HyperDev.Data.DB2-lnx&version=1.2.4
                    
Install as a Cake Tool

HyperDev.Data.DB2-lnx

IBM Db2 provider for HyperDev.Data on Linux, part of the HyperDev Fatum framework. Same code and API as HyperDev.Data.DB2, built against the IBM Linux drivers (Net.IBM.Data.Db2-lnx, IBM.EntityFrameworkCore-lnx).

  • DB2Provider and DB2ConnectionInfo in the HyperDev.Data.DB2 namespace (provider name IBM.Data.DB2.Client)
  • Bulk copy, sequences, temporary tables and stored procedures through the HyperDev.Data Database API
  • Query clauses (DB2QueryOptimizer): DataContext.WithReadOnly adds FOR READ ONLY, DataContext.WithNoLock adds WITH UR

Installation

dotnet add package HyperDev.Data.DB2-lnx

Reference either HyperDev.Data.DB2 or HyperDev.Data.DB2-lnx, not both: they contain the same types.

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-lnx, IBM.EntityFrameworkCore-lnx) 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-lnx, IBM.EntityFrameworkCore-lnx: IBM proprietary license; Entity Framework Core: MIT).

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 87 11/8/2026
1.2.5 83 11/8/2026
1.2.4 89 11/7/2026
1.2.3 93 11/4/2026
1.2.2 112 10/7/2026
1.2.1 157 9/7/2026
1.2.0 138 7/29/2026
1.1.5 131 7/27/2026
1.1.4 144 7/7/2026
1.1.3 145 3/19/2026
1.1.2 155 1/7/2026
1.1.1 256 12/10/2024
1.1.0.2 234 9/23/2024
1.1.0.1 264 9/20/2024
1.1.0 238 7/17/2024
1.0.8 258 7/10/2024
1.0.7.1 276 2/13/2024
1.0.7 292 2/12/2024