Skip to content

Commit

Permalink
#791 Add support for FileBasedEf6 templates. Thanks to @Techhead33
Browse files Browse the repository at this point in the history
  • Loading branch information
sjh37 committed Feb 16, 2023
1 parent 2050d35 commit be0ada0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Generator/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@ public static int EfCoreVersion()
return 7;

case TemplateType.Ef6:
case TemplateType.FileBasedEf6:
default:
return 0;
}
Expand Down
1 change: 1 addition & 0 deletions Generator/Templates/TemplateFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public static Template Create()
case TemplateType.EfCore7:
return new TemplateEfCore7();

case TemplateType.FileBasedEf6:
case TemplateType.FileBasedCore2:
case TemplateType.FileBasedCore3:
case TemplateType.FileBasedCore5:
Expand Down
1 change: 1 addition & 0 deletions Generator/Templates/TemplateType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public enum TemplateType
EfCore5,
EfCore6,
EfCore7,
FileBasedEf6,
FileBasedCore2,
FileBasedCore3,
FileBasedCore5,
Expand Down

0 comments on commit be0ada0

Please sign in to comment.