Skip to content

Commit 512d422

Browse files
committed
Move templates to separate folder
1 parent e67a1c4 commit 512d422

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3
-4
lines changed

Generator/Templates/TemplateFileBased.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
1+
using System.Collections.Generic;
32
using System.IO;
43
using System.Linq;
54
using Efrpg.Filtering;
-52 Bytes
Binary file not shown.

Tester.Integration.EfCore3/File based templates/MCFBT.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Settings.GenerateSeparateFiles = false;
1111
Settings.Namespace = DefaultNamespace; // Override the default namespace here
1212
Settings.AddUnitTestingDbContext = false;
13-
Settings.TemplateFolder = Path.Combine(Settings.Root, "Templates.EFCore3"); // Only used if Settings.TemplateType = TemplateType.FileBased;
13+
Settings.TemplateFolder = Path.Combine(Settings.Root, "../../_File based templates/Templates.EFCore3"); // Only used if Settings.TemplateType = TemplateType.FileBased;
1414

1515
Settings.GenerateSingleDbContext = false;
1616
Settings.MultiContextSettingsConnectionString = "Data Source=(local);Initial Catalog=EfrpgTest_Settings;Integrated Security=True";

Tester.Integration.EfCore3/File based templates/SCFBT.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Settings.OnConfiguration = OnConfiguration.Omit; // EFCore only. Determines the code generated within DbContext.OnConfiguration(). Please read https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/wiki/OnConfiguration Settings.GenerateSeparateFiles = false;
1111
Settings.GenerateSeparateFiles = false;
1212
Settings.Namespace = DefaultNamespace; // Override the default namespace here
13-
Settings.TemplateFolder = Path.Combine(Settings.Root, "Templates.EFCore3"); // Only used if Settings.TemplateType = TemplateType.FileBased;
13+
Settings.TemplateFolder = Path.Combine(Settings.Root, "../../_File based templates/Templates.EFCore3"); // Only used if Settings.TemplateType = TemplateType.FileBased;
1414

1515
FilterSettings.Reset();
1616
FilterSettings.AddDefaults();

Tester.Integration.EfCore3/File based templates/Templates.EF6/DatabaseContext.mustache renamed to _File based templates/Templates.EF6/DatabaseContext.mustache

File renamed without changes.

Tester.Integration.EfCore3/File based templates/Templates.EF6/DatabaseContextFactory.mustache renamed to _File based templates/Templates.EF6/DatabaseContextFactory.mustache

File renamed without changes.

Tester.Integration.EfCore3/File based templates/Templates.EF6/DatabaseContextFactoryUsings.txt renamed to _File based templates/Templates.EF6/DatabaseContextFactoryUsings.txt

File renamed without changes.

Tester.Integration.EfCore3/File based templates/Templates.EF6/DatabaseContextInterface.mustache renamed to _File based templates/Templates.EF6/DatabaseContextInterface.mustache

File renamed without changes.

Tester.Integration.EfCore3/File based templates/Templates.EF6/DatabaseContextInterfaceUsings.txt renamed to _File based templates/Templates.EF6/DatabaseContextInterfaceUsings.txt

File renamed without changes.

Tester.Integration.EfCore3/File based templates/Templates.EF6/DatabaseContextUsings.txt renamed to _File based templates/Templates.EF6/DatabaseContextUsings.txt

File renamed without changes.

0 commit comments

Comments
 (0)