blob: 7992aeb86bff8c9bea5a5b525557f6adeff42e3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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>
}
}
}
|