diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-03-04 18:15:47 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-03-04 18:15:47 +0200 |
| commit | b98b507b94ac9545523da505b8e136711a426257 (patch) | |
| tree | c8fbc3fec66b47a7c1e284e7225999b508042c55 /Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml | |
| parent | 6c6a54059950271da44ba47bc629382a2b636cdb (diff) | |
| parent | ecd2a6146289cd6b3c3dd7c1153a5f9da16dd69c (diff) | |
| download | Tango-b98b507b94ac9545523da505b8e136711a426257.tar.gz Tango-b98b507b94ac9545523da505b8e136711a426257.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml')
| -rw-r--r-- | Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml | 13 |
1 files changed, 12 insertions, 1 deletions
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) + { + <div> + if (@(prop.Name) != null) + { + @(prop.Name)Guid = @(prop.Name).Guid; + } + </div> + } + @if (!prop.Name.EndsWith("Guid")) { <div> On@(prop.Name)Changed(value); </div> - } + } } } } |
