Skip to content

Commit 927120c

Browse files
committed
Default to EfCore10
1 parent e91d3c5 commit 927120c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BuildTT/BuildTT.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private static void CreateTT(string generatorRoot, string ttRoot)
2828
// For help on the various Types below, please read https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/wiki/Common-Settings.*Types-explained
2929
// The following entries are the only required settings.
3030
Settings.DatabaseType = DatabaseType.SqlServer; // SqlServer, SqlCe, SQLite, PostgreSQL. Coming next: MySql, Oracle
31-
Settings.TemplateType = TemplateType.EfCore9; // EfCore9, EfCore8, Ef6, FileBasedCore8-9. FileBased specify folder using Settings.TemplateFolder
31+
Settings.TemplateType = TemplateType.EfCore10; // EfCore8-10, Ef6, FileBasedCore8-10. FileBased specify folder using Settings.TemplateFolder
3232
Settings.GeneratorType = GeneratorType.EfCore; // EfCore, Ef6, Custom. Custom edit GeneratorCustom class to provide your own implementation
3333
3434
Settings.FileManagerType = FileManagerType.EfCore; // .NET Core project = EfCore; .NET 4.x project = VisualStudio; No output (testing only) = Null

EntityFramework.Reverse.POCO.Generator/Database.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// For help on the various Types below, please read https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/wiki/Common-Settings.*Types-explained
1313
// The following entries are the only required settings.
1414
Settings.DatabaseType = DatabaseType.SqlServer; // SqlServer, SqlCe, SQLite, PostgreSQL. Coming next: MySql, Oracle
15-
Settings.TemplateType = TemplateType.EfCore9; // EfCore9, EfCore8, Ef6, FileBasedCore8-9. FileBased specify folder using Settings.TemplateFolder
15+
Settings.TemplateType = TemplateType.EfCore10; // EfCore8-10, Ef6, FileBasedCore8-10. FileBased specify folder using Settings.TemplateFolder
1616
Settings.GeneratorType = GeneratorType.EfCore; // EfCore, Ef6, Custom. Custom edit GeneratorCustom class to provide your own implementation
1717

1818
Settings.FileManagerType = FileManagerType.EfCore; // .NET Core project = EfCore; .NET 4.x project = VisualStudio; No output (testing only) = Null

0 commit comments

Comments
 (0)