Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error was thrown when trying add a migration #3

Open
LuckyStar04 opened this issue Dec 10, 2024 · 2 comments
Open

Error was thrown when trying add a migration #3

LuckyStar04 opened this issue Dec 10, 2024 · 2 comments

Comments

@LuckyStar04
Copy link

Unable to create a 'DbContext' of type 'RuntimeType'. The exception 'Method 'get_LockReleaseBehavior' in type 'GaussDB.EntityFrameworkCore.PostgreSQL.Migrations.Internal.GaussDBHistoryRepository' from assembly 'DotNetCore.EntityFrameworkCore.GaussDB, Version=8.0.1.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' does not have an implementation.' was thrown while attempting to create an instance. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728

.NET version: .NET 9.0
DotNetCore.EntityFrameworkCore.GaussDB: 8.0.1
DotNetCore.GaussDB: 8.0.1

@wangpengxpy
Copy link
Collaborator

猜测.NET 9.0 ef core底层有改动,要升级到行,我得空升级处理下

@cocosip
Copy link

cocosip commented Jan 7, 2025

这块已经提上日程了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants