From 185865c043b5fdaffef5356e305e0cc553ccc126 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 3 Jan 2019 13:36:10 +0200 Subject: Added new BL entities with inheritance !!!! --- .../Tango.CodeGeneration/EntityInheritedCodeFile.cs | 19 +++++++++++++++++++ .../Tango.CodeGeneration/Tango.CodeGeneration.csproj | 4 +++- .../Templates/EntityCodeFile.cshtml | 2 +- .../Templates/EntityInheritedCodeFile.cshtml | 19 +++++++++++++++++++ 4 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 Software/Visual_Studio/Tango.CodeGeneration/EntityInheritedCodeFile.cs create mode 100644 Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityInheritedCodeFile.cshtml (limited to 'Software/Visual_Studio/Tango.CodeGeneration') diff --git a/Software/Visual_Studio/Tango.CodeGeneration/EntityInheritedCodeFile.cs b/Software/Visual_Studio/Tango.CodeGeneration/EntityInheritedCodeFile.cs new file mode 100644 index 000000000..e9c8ac717 --- /dev/null +++ b/Software/Visual_Studio/Tango.CodeGeneration/EntityInheritedCodeFile.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.CodeGeneration +{ + public class EntityInheritedCodeFile : Class + { + public String BaseClass { get; set; } + + public EntityInheritedCodeFile(String name, String baseClass) + { + Name = name; + BaseClass = baseClass; + } + } +} diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Tango.CodeGeneration.csproj b/Software/Visual_Studio/Tango.CodeGeneration/Tango.CodeGeneration.csproj index ef89bd682..436bfae33 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Tango.CodeGeneration.csproj +++ b/Software/Visual_Studio/Tango.CodeGeneration/Tango.CodeGeneration.csproj @@ -68,6 +68,7 @@ + @@ -116,11 +117,12 @@ + - +