Skip to content

Commit

Permalink
Revision bump
Browse files Browse the repository at this point in the history
  • Loading branch information
sjh37 committed Dec 6, 2022
1 parent 9304203 commit da762c5
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion BuildTT/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.0
3.8.0
Binary file not shown.
Binary file not shown.
Binary file modified EntityFramework Reverse POCO Generator/ItemTemplates/efrpoco.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.7.0.0")]
[assembly: AssemblyFileVersion("3.7.0.0")]
[assembly: AssemblyVersion("3.8.0.0")]
[assembly: AssemblyFileVersion("3.8.0.0")]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="EntityFramework_Reverse_POCO_Generator..d542a934-8bd6-4136-b490-5f0049d62033" Version="3.7.0" Language="en-US" Publisher="Simon Hughes" />
<Identity Id="EntityFramework_Reverse_POCO_Generator..d542a934-8bd6-4136-b490-5f0049d62033" Version="3.8.0" Language="en-US" Publisher="Simon Hughes" />
<DisplayName>EntityFramework Reverse POCO Generator</DisplayName>
<Description xml:space="preserve">Reverse engineers an existing database and generates EntityFramework Code First POCO classes, Configuration mappings and DbContext.</Description>
<MoreInfo>https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator</MoreInfo>
Expand Down
2 changes: 1 addition & 1 deletion EntityFramework.Reverse.POCO.Generator/Database.tt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ include file="EF.Reverse.POCO.v3.ttinclude" #>
<#
// v3.7.0
// v3.8.0
// Please make changes to the settings below.
// All you have to do is save this file, and the output file(s) are generated. Compiling does not regenerate the file(s).
// A course for the older v2 generator is available on Pluralsight at https://www.pluralsight.com/courses/code-first-entity-framework-legacy-databases
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#
// Copyright (C) Simon Hughes 2012
// v3.7.0
// v3.8.0
// If you want to submit a pull request, please modify the Generator C# project as this file
// is automatically constructed from the C# Generator project during the build process.
#>
Expand Down Expand Up @@ -43,7 +43,7 @@
public static DatabaseType DatabaseType = DatabaseType.SqlServer; // SqlServer, SqlCe, PostgreSQL. Coming next: MySql, Oracle
public static TemplateType TemplateType = TemplateType.EfCore7; // EfCore7, EfCore6, EfCore5, EfCore3, EfCore2, Ef6, FileBasedCore2-7. FileBased specify folder using Settings.TemplateFolder
public static GeneratorType GeneratorType = GeneratorType.EfCore; // EfCore, Ef6, Custom. Custom edit GeneratorCustom class to provide your own implementation
public static ForeignKeyNamingStrategy ForeignKeyNamingStrategy = ForeignKeyNamingStrategy.Legacy; // Please use Legacy for now (same as versions <= v3.7.0), Latest (not yet ready)
public static ForeignKeyNamingStrategy ForeignKeyNamingStrategy = ForeignKeyNamingStrategy.Legacy; // Please use Legacy for now, Latest (not yet ready)
public static bool UseMappingTables = false; // Can only be set to true for EF6. If true, mapping will be used and no mapping tables will be generated. If false, all tables will be generated.
public static FileManagerType FileManagerType = FileManagerType.EfCore; // .NET Core project = EfCore; .NET 4.x project = VisualStudio; No output (testing only) = Null
public static string ConnectionString = ""; // This is used by the generator to reverse engineer your database
Expand Down Expand Up @@ -1522,7 +1522,7 @@
{
public static string Version()
{
return "v3.7.0";
return "v3.8.0";
}
}

Expand Down Expand Up @@ -3077,7 +3077,7 @@
}
public enum ForeignKeyNamingStrategy
{
Legacy, // Same as versions <= v3.7.0
Legacy, // Same as versions <= v3.8.0
Latest
}

Expand Down Expand Up @@ -3165,7 +3165,7 @@
}
}

// v0.0.0 <= v3.7.0
// v0.0.0 <= v3.8.0
public class LegacyForeignKeyNamingStrategy : BaseForeignKeyNamingStrategy, IForeignKeyNamingStrategy
{
public List<string> ReverseNavigationUniquePropName;
Expand Down
2 changes: 1 addition & 1 deletion Generator/EfrpgVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public static class EfrpgVersion
{
public static string Version()
{
return "v3.7.0";
return "v3.8.0";
}
}
}
2 changes: 1 addition & 1 deletion Generator/ForeignKeyNamingStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public enum ForeignKeyNamingStrategy
{
Legacy, // Same as versions <= v3.7.0
Legacy, // Same as versions <= v3.8.0
Latest
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Efrpg.ForeignKeyStrategies
{
// v0.0.0 <= v3.7.0
// v0.0.0 <= v3.8.0
public class LegacyForeignKeyNamingStrategy : BaseForeignKeyNamingStrategy, IForeignKeyNamingStrategy
{
public List<string> ReverseNavigationUniquePropName;
Expand Down
4 changes: 2 additions & 2 deletions Generator/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.7.0.0")]
[assembly: AssemblyFileVersion("3.7.0.0")]
[assembly: AssemblyVersion("3.8.0.0")]
[assembly: AssemblyFileVersion("3.8.0.0")]
2 changes: 1 addition & 1 deletion Generator/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static class Settings
public static DatabaseType DatabaseType = DatabaseType.SqlServer; // SqlServer, SqlCe, PostgreSQL. Coming next: MySql, Oracle
public static TemplateType TemplateType = TemplateType.EfCore7; // EfCore7, EfCore6, EfCore5, EfCore3, EfCore2, Ef6, FileBasedCore2-7. FileBased specify folder using Settings.TemplateFolder
public static GeneratorType GeneratorType = GeneratorType.EfCore; // EfCore, Ef6, Custom. Custom edit GeneratorCustom class to provide your own implementation
public static ForeignKeyNamingStrategy ForeignKeyNamingStrategy = ForeignKeyNamingStrategy.Legacy; // Please use Legacy for now (same as versions <= v3.7.0), Latest (not yet ready)
public static ForeignKeyNamingStrategy ForeignKeyNamingStrategy = ForeignKeyNamingStrategy.Legacy; // Please use Legacy for now, Latest (not yet ready)
public static bool UseMappingTables = false; // Can only be set to true for EF6. If true, mapping will be used and no mapping tables will be generated. If false, all tables will be generated.
public static FileManagerType FileManagerType = FileManagerType.EfCore; // .NET Core project = EfCore; .NET 4.x project = VisualStudio; No output (testing only) = Null
public static string ConnectionString = ""; // This is used by the generator to reverse engineer your database
Expand Down
Binary file modified ItemTemplate/ItemTemplates/efrpoco.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion ItemTemplate/MyTemplate.vstemplate
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Icon>TemplateIcon.ico</Icon>
<PreviewImage>PreviewImage.png</PreviewImage>
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
<Version>3.7.0</Version>
<Version>3.8.0</Version>
</TemplateData>
<TemplateContent>
<ProjectItem SubType="" TargetFileName="$fileinputname$.tt" ReplaceParameters="false">Database.tt</ProjectItem>
Expand Down

0 comments on commit da762c5

Please sign in to comment.