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

Add support for EF Core 7.0 & Mapster 7.4.0 #2

Open
Geestarraw opened this issue May 15, 2023 · 1 comment
Open

Add support for EF Core 7.0 & Mapster 7.4.0 #2

Geestarraw opened this issue May 15, 2023 · 1 comment

Comments

@Geestarraw
Copy link

Geestarraw commented May 15, 2023

Please update the project to use EF Core 7.0 and Mapster 7.4.0-pre05. The latter has changes to it and requires the use of ITypeAdapterBuilder instead of TypeAdapterBuilder.

Currently the dependencies are for Mapster 4.1.1 and Ef Core 2.0.0 which are way old.

@MrGeneralZod
Copy link

I use Mapster.EFCore 5.1.1-pre02 and Mapster 7.4.0-pre06 and this code just doesn't work

model
    .BuildAdapter()
     .EntityFromContext(_dbContext)
     .AdaptTo(entity);

Is the problem with ITypeAdapterBuilder?

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

2 participants