From 60a2692fd4acadfdf8724bb198e38a2689a866fd Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Thu, 23 Jan 2020 14:34:55 +0200 Subject: Added new staple spun process parameters to database, BL and PMR. Implemented process params index via db. Added new process params in MS. Added JOB_RUN => Upload time, Heating Time, IsGradient... --- .../Tango.CodeGeneration/Templates/EntityCodeFile.cshtml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml') diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml index 780cc2647..76c035df9 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml @@ -88,6 +88,12 @@ namespace Tango.BL.Entities [StringFormat("@(prop.PropertyExtension.StringFormat)")] } + if (prop.PropertyExtension.HasIndex) + { +
+ [PropertyIndex(@(prop.PropertyExtension.Index))] +
+ } } public @(prop.Construct || prop.Complex ? "virtual" : "") @(prop.Type) @(prop.Name) { -- cgit v1.3.1