PawelGerr / Thinktecture.EntityFrameworkCore

These libraries extend Entity Framework Core by a few features to make it easier to work with EF and for easier integration testing or to get more performance in some special cases.
https://dev.azure.com/pawelgerr/Thinktecture.EntityFrameworkCore
BSD 3-Clause "New" or "Revised" License
66 stars 17 forks source link

.Net 7 #24

Closed virzak closed 2 years ago

virzak commented 2 years ago

Hi,

I'm starting to test my project with .Net 7 since it has some key fixes in the framework. The project depends on this library, so it cannot be upgraded without it.

Could you make a beta for .Net 7 or multitarget to both .net 6 and 7?

I did this for my library, so I'd be happy to send contributions as well.

https://github.com/zompinc/efcore-extensions/blob/087e3683c3fcaf02f9f3460cc809ef6dbf965e1e/src/Zomp.EFCore.WindowFunctions.SqlServer/Query/Internal/WindowFunctionsSqlServerQuerySqlGeneratorFactory.cs#L35-L41

PawelGerr commented 2 years ago

Are you talking about EF Core 6 or EF Core 7? Current version, which references EF Core 6, should run on .NET 6 and .NET 7. If you are talking about EF Core 7, then I released a new version 7.0.0-beta01

virzak commented 2 years ago

I just realized that I could have stayed with EF Core 6, but thank you anyways.

virzak commented 2 years ago

@PawelGerr Could you update for RC.1 please?

The error is:

System.TypeLoadException : Method 'VisitDelete' in type 'Thinktecture.EntityFrameworkCore.Query.RelationalOptimizingVisitor' from assembly 'Thinktecture.EntityFrameworkCore.Relational, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
PawelGerr commented 2 years ago

7.0.0-beta02 is released