Skip to content

Commit

Permalink
inform that EF Core 6 and 7 are unuspported
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Nov 30, 2024
1 parent 519f70e commit f1a6e7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GUI/Shared/Helpers/ReverseEngineerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,14 @@ public string DropTemplates(string optionsPath, string projectPath, CodeGenerati

if (minimumVersion.Major == 6 || minimumVersion.Major == 2)
{
list.Add(new CodeGenerationItem { Key = (int)CodeGenerationMode.EFCore7, Value = "EF Core 7" });
list.Add(new CodeGenerationItem { Key = (int)CodeGenerationMode.EFCore6, Value = "EF Core 6" });
list.Add(new CodeGenerationItem { Key = (int)CodeGenerationMode.EFCore7, Value = "EF Core 7 (unsupported)" });
list.Add(new CodeGenerationItem { Key = (int)CodeGenerationMode.EFCore6, Value = "EF Core 6 (unsupported)" });
}

if (minimumVersion.Major >= 8)
{
list.Add(new CodeGenerationItem { Key = (int)CodeGenerationMode.EFCore8, Value = "EF Core 8" });
list.Add(new CodeGenerationItem { Key = (int)CodeGenerationMode.EFCore7, Value = "EF Core 7" });
list.Add(new CodeGenerationItem { Key = (int)CodeGenerationMode.EFCore7, Value = "EF Core 7 (unsupported)" });
list.Add(new CodeGenerationItem { Key = (int)CodeGenerationMode.EFCore9, Value = "EF Core 9" });
}

Expand Down

0 comments on commit f1a6e7d

Please sign in to comment.