[EF Core 6] Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Adaś
Posts: 12
Joined: Sat 06 Apr 2019 20:09

[EF Core 6] Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.

Post by Adaś » Thu 28 Oct 2021 08:34

Hi,

after upgrading to .NET 6 im getting this error:

Code: Select all

An exception of type 'System.MissingMethodException' occurred in Microsoft.EntityFrameworkCore.dll but was not handled in user code
Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.
on constructor:

Code: Select all

{
    public partial class ApplicationDbContext : IdentityDbContext<ApplicationUser, ApplicationRole, int>
    {
        public ApplicationDbContext(DbContextOptions options) : base(options)
        {
        }
    }

i know that EF Core 6 is not yet officialy supported, but maybe do you have any idea how to fix this error?
More info: https://github.com/dotnet/efcore/issues/26022

Shalex
Site Admin
Posts: 9466
Joined: Thu 14 Aug 2008 12:44

Re: [EF Core 6] Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.

Post by Shalex » Thu 28 Oct 2021 12:28

We have decided not to implement support of pre-release versions of EF Core 6. After EF Core 6 is released, we will do our best to support the feature as soon as possible. We will notify you when the EF Core 6 functionality is available in dotConnect for MySQL.

Adaś
Posts: 12
Joined: Sat 06 Apr 2019 20:09

Re: [EF Core 6] Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.

Post by Adaś » Thu 28 Oct 2021 15:53

No problem. We moved to pomelo which fully support EF 6 RC.2

Shalex
Site Admin
Posts: 9466
Joined: Thu 14 Aug 2008 12:44

Re: [EF Core 6] Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.

Post by Shalex » Wed 01 Dec 2021 14:33

Entity Framework Core 6.0.0 is supported. We will notify you when a new public build of dotConnect for MySQL is available for download.

Shalex
Site Admin
Posts: 9466
Joined: Thu 14 Aug 2008 12:44

Re: [EF Core 6] Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.

Post by Shalex » Tue 21 Dec 2021 18:05

dotConnect for MySQL 8.20 is released: viewtopic.php?f=2&t=51638.

Post Reply