aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-01-23 14:34:55 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-01-23 14:34:55 +0200
commit60a2692fd4acadfdf8724bb198e38a2689a866fd (patch)
treee0924aa7d75c61875419dca7c31b338addd8661e /Software/Visual_Studio/Tango.CodeGeneration/Templates
parent73433f297a3361511ba8ff99e2ff852e376987c5 (diff)
downloadTango-60a2692fd4acadfdf8724bb198e38a2689a866fd.tar.gz
Tango-60a2692fd4acadfdf8724bb198e38a2689a866fd.zip
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...
Diffstat (limited to 'Software/Visual_Studio/Tango.CodeGeneration/Templates')
-rw-r--r--Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml6
1 files changed, 6 insertions, 0 deletions
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)")]
</div>
}
+ if (prop.PropertyExtension.HasIndex)
+ {
+ <div>
+ [PropertyIndex(@(prop.PropertyExtension.Index))]
+ </div>
+ }
}
public @(prop.Construct || prop.Complex ? "virtual" : "") @(prop.Type) @(prop.Name)
{