Original Message:
Sent: Mon February 12, 2024 12:56 AM
From: Vishwanatha Hosathota
Subject: .net8 / EFcore8 support?
Hi Wim,
you may want to try the latest versions 8.0.0.200 and let us know if you still face any issues and we are happy to help you. I am not sure why you do not have rights to open a case with IBM.
Thanks
Vishwa
------------------------------
Vishwanatha Hosathota
Original Message:
Sent: Fri February 09, 2024 05:13 AM
From: Wim Baens
Subject: .net8 / EFcore8 support?
Unfortunately I don't have the rights to open support cases.
IBM just doesn't care about the customers, after this year we are completely switched over to SQL or Oracle.
------------------------------
Wim Baens
Original Message:
Sent: Wed February 07, 2024 10:41 AM
From: Mr O.
Subject: .net8 / EFcore8 support?
Did you open a support case so they can get it fixed?
It is odd, just last week I opened support case to see when .NET Core 8 would be released and they said to check back in a couple months, and then all of a sudden it appeared. It seems the different departments at IBM are not talking to each other.
Original Message:
Sent: Tue February 06, 2024 03:46 AM
From: Wim Baens
Subject: .net8 / EFcore8 support?
Every statement we make produces the same error.
System.ArgumentNullException: Value cannot be null. (Parameter 'format')
Version 8.0.0.100 of IBM.EntityFrameworkCore does not work.
------------------------------
Wim Baens
Original Message:
Sent: Mon February 05, 2024 09:29 PM
From: Peter Czurak
Subject: .net8 / EFcore8 support?
Version 8.0.0.100 of IBM.EntityFrameworkCore is here. Unfortunately, it does not work. It crashes on simple select statement.
Verion 7.0.0.300 works just fine on following statement.
decimal itm = await (from data in db.F4101 where data.Imsrtx.Equals(sku) select data.Imitm).FirstOrDefaultAsync();
this statement produces this error:
System.ArgumentNullException: Value cannot be null. (Parameter 'format')
at System.ThrowHelper.Throw(String paramName)
at Microsoft.Extensions.Logging.LogValuesFormatter..ctor(String format)
at Microsoft.Extensions.Logging.LoggerMessage.CreateLogValuesFormatter(String formatString, Int32 expectedNamedParameterCount)
at Microsoft.Extensions.Logging.LoggerMessage.Define[T1,T2](LogLevel logLevel, EventId eventId, String formatString, LogDefineOptions options)
at Microsoft.Extensions.Logging.LoggerMessage.Define[T1,T2](LogLevel logLevel, EventId eventId, String formatString)
at IBM.EntityFrameworkCore.Internal.Db2Strings.<>c.<LogDecimalTypeKey>b__21_1(LogLevel level)
at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`2..ctor(ILoggingOptions loggingOptions, EventId eventId, LogLevel level, String eventIdCode, Func`2 logActionFunc)
at IBM.EntityFrameworkCore.Internal.Db2Strings.<>c__DisplayClass21_0.<LogDecimalTypeKey>b__0()
at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Func`1 valueFactory)
at IBM.EntityFrameworkCore.Internal.Db2Strings.LogDecimalTypeKey(IDiagnosticsLogger logger)
at IBM.EntityFrameworkCore.Internal.Db2LoggerExtensions.DecimalTypeKeyWarning(IDiagnosticsLogger`1 diagnostics, IProperty property)
at IBM.EntityFrameworkCore.Infrastructure.Internal.Db2ModelValidator.ValidateDecimalColumns(IModel model, IDiagnosticsLogger`1 logger)
at IBM.EntityFrameworkCore.Infrastructure.Internal.Db2ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()
at Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__8_4(IServiceProvider p)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_Model()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
------------------------------
Peter Czurak
Original Message:
Sent: Fri January 05, 2024 09:00 AM
From: Jeremy Bowling
Subject: .net8 / EFcore8 support?
Unfortunately IBM is always months behind almost every other database provider on releasing .NET tools.
------------------------------
Jeremy Bowling
Original Message:
Sent: Wed October 11, 2023 08:12 AM
From: Torben Hørup
Subject: .net8 / EFcore8 support?
net8 -rc2 was released yesterday -and theres roughly a month until net8 is GA, but still we havent heard or seen anything in regards to DB2 support for .net/efcore 8
Will we repeat the pattern from net7 where 5 months went by until you were ready to support it ?
------------------------------
Torben Hørup
------------------------------