IBM.EntityFrameworkCore-osx 10.0.0.100

dotnet add package IBM.EntityFrameworkCore-osx --version 10.0.0.100
                    
NuGet\Install-Package IBM.EntityFrameworkCore-osx -Version 10.0.0.100
                    
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="IBM.EntityFrameworkCore-osx" Version="10.0.0.100" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IBM.EntityFrameworkCore-osx" Version="10.0.0.100" />
                    
Directory.Packages.props
<PackageReference Include="IBM.EntityFrameworkCore-osx" />
                    
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 IBM.EntityFrameworkCore-osx --version 10.0.0.100
                    
#r "nuget: IBM.EntityFrameworkCore-osx, 10.0.0.100"
                    
#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 IBM.EntityFrameworkCore-osx@10.0.0.100
                    
#: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=IBM.EntityFrameworkCore-osx&version=10.0.0.100
                    
Install as a Cake Addin
#tool nuget:?package=IBM.EntityFrameworkCore-osx&version=10.0.0.100
                    
Install as a Cake Tool

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 10.0, ensuring compatibility with applications running on this framework or higher. 
Dependencies: Requires Microsoft.EntityFrameworkCore.Relational (version 10.0.6 or higher) and Net.IBM.Data.Db2 (version 10.0.0.200 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 based deployment. 
In cases where Db2Connect license is needed, the license file needs to be copied to clidriver/license folder of Net.IBM.Data.Db2** package as detailed here:
https://community.ibm.com/community/user/blogs/vishwa-hs1/2020/07/12/db2-net-packages-download-and-configure

Main Types

All ADO.NET Entity Framework (ORM) specification types.

What's New

v10.0.0.100
    � Support for Microsoft EF Core 10.
    � Support for Code First Approach for Db2 for IBM i.
    � Issue Fixes: When projecting multiple columns using similar operations in a LINQ query could result in only one column appearing in the generated SQL.
        For example, the following query:
            context.TAB1.Select(p => new {
                Age = p.COL1.Trim(),
                FutureDate = p.COL2.Trim()
            }).ToList();
        SQL Output Prior to Fix:
            SELECT TRIM(c.COL1) AS Age FROM TAB1 AS c
        SQL Output After Applying Fix:
            SELECT TRIM(c.COL1) AS Age, TRIM(c.COL2) AS FutureDate FROM TAB1 AS c
        All projected columns are now correctly included in the generated SQL.

    � Observation:
        � Running Add-Migration with Microsoft.EntityFrameworkCore.Tools 10.0.6 fails with MissingMethodException: Method not found: 'System.String Microsoft.EntityFrameworkCore.Diagnostics.AbstractionsStrings.ArgumentIsEmpty(System.Object)'. 
            Cause: The Tools package resolves its transitive dependency Microsoft.EntityFrameworkCore.Design to version 8.0.0 instead of 10.0.6, causing a cross-major-version API mismatch. 
            Solution:
                � Option A � Downgrade to Microsoft.EntityFrameworkCore.Tools 10.0.5, which resolves a compatible Design package on its own.
                � Option B � Keep Tools 10.0.6 or higher but explicitly add Microsoft.EntityFrameworkCore.Design at a matching 10.0.x version to force alignment.
            Note: If a future version of `Microsoft.EntityFrameworkCore.Tools` (e.g., 10.0.8+) updates its dependency on `Microsoft.EntityFrameworkCore.Design` to `>= 10.0.0`, explicitly adding the Design package will no longer be necessary.

v9.0.0.400
    � Issue Fixes: During insert operations, Linq queries may retrieve incorrect identity column values if identity generation has been restarted or is not configured to generate values in ascending order.
        To ensure correct retrieval of identity values, the INSERT statement should be combined with a SELECT statement using the FINAL TABLE syntax. For example;
            SELECT ID, COLROW FROM FINAL TABLE ( INSERT INTO DUMMYSCHEMA.DUMMYTAB1 (NAME) VALUES (@p8));
        Note: This syntax is supported in Db2 for z/OS version 12.01 or later.

        Configuration for Db2 12.01: If user application targets Db2 for z/OS 12.01, configure the server version explicitly:
             protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
               => optionsBuilder.UseDb2(connectionString, x => x.SetServerInfo(IBMDBServerType.OS390, IBMDBServerVersion.OS390_12_01));

    � Multivalue Insert Support: Db2 for z/OS 13.01 and later supports multivalue insert statements. 
        Linq Query for Table with Identity Column: Generates SQL using FINAL TABLE to retrieve identity values:
            SELECT ID, COLROW FROM FINAL TABLE (INSERT INTO DUMMYSCHEMA.DUMMYTAB1 (NAME)
              VALUES (@p8), (@p9), (@p10));
        Linq Query for Table without Identity Column: Generates a standard multivalue INSERT statement:
            INSERT INTO DUMMYSCHEMA.DUMMYTAB1 (NAME)
              VALUES (@p8), (@p9), (@p10);

        Configuration for Db2 13.01: As the default server version is 13.01, no explicit configuration is needed:
            optionsBuilder.UseDb2(connectionString, x => x.SetServerInfo(IBMDBServerType.OS390));

        Note: If the same application also targets Db2 for z/OS 12.01, using multivalue insert syntax may result in a syntax error. Ensure compatibility by configuring the target version.
   
v9.0.0.300
    � With this version, OFFSET clause is supported for Db2 for LUW, Db2 for IBM i and Db2 for z/OS.
          Note: 
            � To use OFFSET clause, UseRowNumberForPaging() should not be configured in context class.
                For example:
                    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
                    {
                        base.OnConfiguring(optionsBuilder);
                        optionsBuilder.UseDb2(ConnectionString, p => { p.SetServerInfo(IBMDBServerType.AS400); });
                    }
            � If UseRowNumberForPaging() is configured, the older mechanism using ROW_NUMBER() will be applied instead.
            � There are server-side limitations. For example, in the case of Db2 for z/OS, using OFFSET within a subselect may not work.
          
          Linq Query:
            � context.SampleTable.OrderBy(o => o.SAMPLEID).Skip(2).ToList();
          
          Generated sql:
            SELECT a.ID, a.SAMPLEID, a.EMPLOYEEID
            FROM SAMPLETABLE AS a
            ORDER BY a.SAMPLEID OFFSET  @__p_0 ROWS
          
          Suggestion: 
            � If the column used in the OrderBy clause contains duplicate values, the result may be inconsistent.
              To ensure consistent ordering and predictable paging, it is recommended to include additional columns in the OrderBy clause.

v9.0.0.200
    � With this version, Code First support for Db2 for LUW and Db2 for z/OS is included. v9.0.0.100 version had support for Database First.

v9.0.0.100
    � Support for Microsoft EF Core 9
    � 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", "SCHEMA1");
                    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  : Windows x64
� IBM.EntityFrameworkCore-lnx.  : Linux AMD64
� IBM.EntityFrameworkCore-osx  : Mac ARM64 M1/M2/M3
� Net.IBM.EntityFrameworkCore-ppc : Linux ppc64le

How to enable logging

To enable Entity Framework Core (EF Core) logging, applications can be configured to use the simple built-in logging system as detailed here:
https://learn.microsoft.com/en-us/ef/core/logging-events-diagnostics/simple-logging

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 Compatible and additional computed target framework versions.
.NET 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 (1)

Showing the top 1 popular GitHub repositories that depend on IBM.EntityFrameworkCore-osx:

Repository Stars
jbogard/Respawn
Intelligent database cleaner for integration tests
Version Downloads Last Updated
10.0.0.100 0 5/21/2026
9.0.0.400 2,193 11/11/2025
9.0.0.300 878 8/22/2025
9.0.0.100 843 5/8/2025
8.0.0.400 608 4/15/2025
8.0.0.300 1,396 10/1/2024
8.0.0.200 441 2/9/2024
7.0.0.400 310 2/7/2024
6.0.0.300 900 9/6/2022
Loading failed

IBM Data Server provider support for Entity Framework Core. For more details, please visit: https://community.ibm.com/community/user/blogs/vishwa-hs1/2020/07/12/db2-net-packages-download-and-configure