Skip to content

Commit

Permalink
Add proper EF Core 9 support (#2602)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ authored Nov 7, 2024
1 parent ebfaa0d commit 3922dc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Core/efcpt.8/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ internal static class Constants
#if CORE60
public const CodeGenerationMode CodeGeneration = CodeGenerationMode.EFCore6;
public const int Version = 6;
#elif CORE80
#elif CORE90
public const CodeGenerationMode CodeGeneration = CodeGenerationMode.EFCore9;
public const int Version = 9;
#else
public const CodeGenerationMode CodeGeneration = CodeGenerationMode.EFCore8;
public const int Version = 8;
#else
public const CodeGenerationMode CodeGeneration = CodeGenerationMode.EFCore7;
public const int Version = 7;
#endif
}
2 changes: 1 addition & 1 deletion src/Core/efcpt.9/efcpt.9.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</PropertyGroup>

<PropertyGroup>
<DefineConstants>CORE80</DefineConstants>
<DefineConstants>CORE80;CORE90</DefineConstants>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 3922dc6

Please sign in to comment.