diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityDTOCodeFile.cshtml')
| -rw-r--r-- | Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityDTOCodeFile.cshtml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityDTOCodeFile.cshtml b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityDTOCodeFile.cshtml new file mode 100644 index 000000000..7992aeb86 --- /dev/null +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityDTOCodeFile.cshtml @@ -0,0 +1,44 @@ +@{ + Tango.CodeGeneration.EntityDTOCodeFile model = Model as Tango.CodeGeneration.EntityDTOCodeFile; +} +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Tango Observables Generator +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. Do not modify! +// </auto-generated> +//------------------------------------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.BL.Entities; + +namespace Tango.BL.DTO +{ + @if (model.Description != null) + { + <div> + /// <summary> + /// @(model.Description) + /// </summary> + </div> + } + public abstract class @(model.Name) : ObservableEntityDTO<@(model.InheritedType), @(model.ObservableType)> + { + @foreach (var prop in model.Properties) + { + <div> + /// <summary> + /// @(prop.Description) + /// </summary> + public @(prop.Type) @(prop.Name) { get; set; } + + </div> + } + } +} |
