From 1746d2c7f601f44c23399aa6d19661fb7ff937ec Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 4 Mar 2019 15:49:59 +0200 Subject: Fixed several issues with PPC. --- .../Tango.CodeGeneration/Templates/EntityCodeFile.cshtml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (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 698a79b34..b5d47edab 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml @@ -74,12 +74,23 @@ namespace Tango.BL.Entities if (_@(prop.Name.ToLower()) != value) { _@(prop.Name.ToLower()) = value; + + @if (prop.Complex) + { +
+ if (@(prop.Name) != null) + { + @(prop.Name)Guid = @(prop.Name).Guid; + } +
+ } + @if (!prop.Name.EndsWith("Guid")) {
On@(prop.Name)Changed(value);
- } + } } } } -- cgit v1.3.1