Skip to content

EntityFrameworkCore 3.0.0

Compare
Choose a tag to compare
@Daniel-Svensson Daniel-Svensson released this 14 Apr 11:29
· 24 commits to main since this release
6c34153

OpenRiaServices.Server.EntityFrameworkCore 3.0.0

Add EF Core 8 support by @ehsangfl @Daniel-Svensson in #496

  • Target .NET 8.0 and 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
  • Drops 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

Other internal changes

  • Remove a bunch of "#if NET6_0" so it works on multiple versions of .NET
  • update nuget packages
    • MSTest to 3.3.1
    • Microsoft.CodeAnalysis.* 4.9.2
    • Microsoft.Build.Locator 1.7.8
    • remove Microsoft.EntityFrameworkCore.Design
    • Update to "Microsoft.NET.Test.Sdk" 17.9.0