OpenRIAServices / OpenRiaServices

The Open RIA Services project continues what was previously known as WCF RIA Services.
https://openriaservices.gitbook.io/openriaservices/
Apache License 2.0
54 stars 47 forks source link

EF core 8 is not supported #474

Closed ehsangfl closed 2 months ago

ehsangfl commented 6 months ago

the code generator works like a charm. after migrating from net7.0 to net8, I faced this issue

error on build client : Method not found: 'System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.GetProperties()

Server net8.0 Client net8.0 EfCore : 8.0

Daniel-Svensson commented 6 months ago

Does it work if you use efcore 7 instead? It might be a breaking change in efcore 8.

Otherwise we should add a net8 target for efcore provider which is compiled against efcore8. (We might want to drop net6 support)

ehsangfl commented 6 months ago

Does it work if you use efcore 7 instead? It might be a breaking change in efcore 8.

Otherwise we should add a net8 target for efcore provider which is compiled against efcore8. (We might want to drop net6 support)

yes, this is breaking changes on efcore 8. This function removed from efcore 8 I added net8 to the project and the error was resolved. but some tests do not passed. I create a PR so you can check the solution

Daniel-Svensson commented 2 months ago

3.0.0 is now released to nuget, feel free to give it a try