IBM.EntityFrameworkCore
8.0.0.400
dotnet add package IBM.EntityFrameworkCore --version 8.0.0.400
NuGet\Install-Package IBM.EntityFrameworkCore -Version 8.0.0.400
<PackageReference Include="IBM.EntityFrameworkCore" Version="8.0.0.400" />
<PackageVersion Include="IBM.EntityFrameworkCore" Version="8.0.0.400" />
<PackageReference Include="IBM.EntityFrameworkCore" />
paket add IBM.EntityFrameworkCore --version 8.0.0.400
#r "nuget: IBM.EntityFrameworkCore, 8.0.0.400"
#addin nuget:?package=IBM.EntityFrameworkCore&version=8.0.0.400
#tool nuget:?package=IBM.EntityFrameworkCore&version=8.0.0.400
About
IBM.EntityFrameworkCore is a NuGet package that serves as the IBM Data Server provider for Entity Framework Core, enabling .NET applications to interact seamlessly with IBM database servers.
Key Features
Compatibility: Targets .NET 8.0, ensuring compatibility with applications running on this framework or higher.
Dependencies: Requires Microsoft.EntityFrameworkCore.Relational (version 8.0.12 or higher) and Net.IBM.Data.Db2 (version 8.0.0.400 or higher).
How to use
Use package manager to add package to the project build it and deploy it as any other .NET NuGet package.
Main Types
All ADO.NET ORM specification classes.
What's New
Issue Fixes: The LINQ query may fail with SQL0104N error, when EF application uses table entities, configured with SMALLINT(2) data type against DB2 for z/os database. For example:
LINQ Query:
_dbContext.Smalltabs.Where(x ⇒x.IncnstDspstnNoted !=1);
Entity Configuration:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<Smalltab>(entity ⇒
{
entity
.HasNoKey()
.ToTable("SMALLTAB", "BLWDB2T");
entity.Property(e ⇒ e.IncnstDspstnNoted)
.HasColumnType("smallint(2)") //this causes wrong SQL generation
.HasColumnName("INCNST_DSPSTN_NOTED");
entity.Property(e ⇒ e.ItemId)
.HasColumnType("bigint(8)")
.HasColumnName("ITEM_ID");
});
}
Related Packages IBM.EntityFrameworkCore-lnx IBM.EntityFrameworkCore-osx Net.IBM.EntityFrameworkCore-ppc Requesting support Please reach out to IBM Tech support for any issues in using this package: https://www.ibm.com/mysupport/s/?language=en_US
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. |
-
net8.0
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.12)
- Net.IBM.Data.Db2 (>= 8.0.0.400)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on IBM.EntityFrameworkCore:
Package | Downloads |
---|---|
Eltra.EntityFramework
Library for Eltra .Net |
|
BizDoc.Infrastructure.SAP
SAP for BizDoc |
|
Carbon.Kit.Data.DB2
Provides interfaces, abstractions and common functions to support working with IBM DB2. |
|
Carbon.Feature.Components.IBM
Feature with various supported Carbon Components and IBM. |
|
HyperDev.Data.DB2
HyperDev Fatum Framework |
GitHub repositories
This package is not used by any popular GitHub repositories.
IBM Data Server provider support for Entity Framework Core. For more details, please visit: https://community.ibm.com/community/user/hybriddatamanagement/blogs/michelle-betbadal1/2020/04/29/getting-started-with-ibm-net-provider-for-net-core