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 EF Core 8 support #496

Merged
merged 7 commits into from
Apr 13, 2024
Merged

Conversation

Daniel-Svensson
Copy link
Member

@Daniel-Svensson Daniel-Svensson commented Apr 12, 2024

  • Target EF Core 8
    • IMPORTANT EF Core 8 is NOT backwards compatible with models (DbContexct) classes compiled against earlier versions of EF Core.
      Methods such as HasName in OnConfigure will throw MethodNotFoundException
      This means that to use EF Core 8 all referenced EF Core projects needs to be updated to 8.0
  • Drop support for earlier TargetFrameworks
    • Due to limitations above with binary breaking changes in EF Core earlier frameworks will not be supported to reduce risk of mixing EF Core versions.
    • Use the 2.0.* version of the nuget package if you need support for earlier versions of EF COre

Daniel-Svensson and others added 7 commits April 12, 2024 15:52
Co-authored-by: Ehsan Vali <ehsanvgfl@gmail.com>
- model projects can no longer use ef core 3.1

Co-authored-by: Ehsan Vali <ehsanvgfl@gmail.com>
* MSTest to 3.3.1
* Microsoft.CodeAnalysis.* 4.9.2
* Microsoft.Build.Locator 1.7.8

* remove Microsoft.EntityFrameworkCore.Design
@Daniel-Svensson Daniel-Svensson enabled auto-merge (squash) April 13, 2024 17:50
Copy link

sonarcloud bot commented Apr 13, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Daniel-Svensson Daniel-Svensson merged commit 6c34153 into OpenRIAServices:main Apr 13, 2024
6 checks passed
@Daniel-Svensson Daniel-Svensson deleted the efcore8 branch April 13, 2024 18:04
@Daniel-Svensson Daniel-Svensson linked an issue Apr 14, 2024 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

EF core 8 is not supported
1 participant