| ofs | hex dump | ascii |
|---|
| 0000 | ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 60 00 60 00 00 ff db 00 43 00 06 04 04 05 04 04 06 | ......JFIF.....`.`.....C........ |
| 0020 | 05 05 05 06 06 06 07 09 0e 09 09 08 08 09 12 0d 0d 0a 0e 15 12 16 16 15 12 14 14 17 1a 21 1c 17 | .............................!.. |
| 0040 | 18 1f 19 14 14 1d 27 1d 1f 22 23 25 25 25 16 1c 29 2c 28 24 2b 21 24 25 24 ff db 00 43 01 06 06 | ......'.."#%%%..),($+!$%$...C... |
| 0060 | 06 09 08 09 11 09 09 11 24 18 14 18 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 | ........$...$$$$$$$$$$$$$$$$$$$$ |
| 0080 | 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 ff c2 | $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.. |
| 00a0 | 00 11 08 01 92 02 80 03 01 22 00 02 11 01 03 11 01 ff c4 00 1b 00 00 01 05 01 01 00 00 00 00 00 | ........."...................... |
| 00c0 | 00 00 00 00 00 00 02 00 01 03 04 05 06 07 ff c4 00 1a 01 00 03 01 01 01 01 00 00 00 00 00 00 00 | ................................ |
| 00e0 | 00 00 00 00 01 02 03 04 05 06 ff da 00 0c 03 01 00 02 10 03 10 00 00 01 f2 d9 e0 b2 e4 60 b3 58 | .............................`.X |
| 0100 | 14 91 ce 08 61 b0 10 24 86 ee 0e 22 21 bf 51 4e 6d cb dd 1c 58 53 ed 17 47 16 29 ef 41 51 97 ad | ....a..$..."!.QNm...XS..G.).AQ.. |
| 0120 | 1e e3 cb 96 2d 14 de 7b e9 18 b2 ab 74 06 8c a5 d1 5f ac 78 87 e8 70 23 64 4e 43 44 89 cb 13 91 | ....-..{....t...._.x..p#dNCD.... |
| 0140 | 0c e4 ee 59 c9 c4 2e 4e e4 11 b8 46 e6 c2 16 34 38 d5 b9 c7 96 3b 6c 9e 1d f3 ac 55 78 34 e9 97 | ...Y...N...F...48....;l....Ux4.. |
| 0160 | 58 64 07 60 12 14 dc 47 35 15 72 d3 bd 12 ba 93 43 2c e9 0b 4d 4d 68 c0 43 1a 08 b8 cd 89 ca d3 | Xd.`...G5.r.....C,..MMh.C....... |
| 0180 | 55 18 a3 8d 19 93 4d b9 33 e7 68 49 81 45 3b 03 42 c9 36 74 e0 ac d8 ee 35 c3 1b 62 cc using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.CodeGeneration
{
/// <summary>
/// Represents a database entity code file.
/// </summary>
/// <seealso cref="Tango.CodeGeneration.Class" />
public class EntityCodeFile : Class
{
/// <summary>
/// Gets or sets the name of the entity.
/// </summary>
public String EntityName { get; set; }
/// <summary>
/// Gets or sets the name of the table.
/// </summary>
public String TableName { get; set; }
/// <summary>
/// Gets or sets the table fields.
/// </summary>
public List<EntityCodeFileField> Fields { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public String Description { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="EntityCodeFile"/> class.
/// </summary>
/// <param name="name">The code file name.</param>
public EntityCodeFile(String name) : base(name)
{
Fields = new List<EntityCodeFileField>();
}
}
/// <summary>
/// Represents a database entity code file field.
/// </summary>
public class EntityCodeFileField
{
/// <summary>
/// Gets or sets the name.
/// </summary>
public String Name { get; set; }
/// <summary>
/// Gets or sets the name of the field.
/// </summary>
public String FieldName { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
public String Type { get; set; }
public bool XmlIgnore { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public String Description { get; set; }
public String DbDescription { get; set; }
public bool IsForeignKey { get; set; }
public String ForeignKeyName { get; set; }
public bool Complex { get; set; }
/// <summary>
/// Gets or sets a value indicating whether to initialize this field in the constructor.
/// </summary>
public bool Construct { get; set; }
}
}
|