From d1e8b5dc2cfa93bf042773b4bf04a0f0bfc1f53d Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 8 Jan 2018 15:28:10 +0200 Subject: Added code comments for: CodeGeneration. Core. --- .../Tango.CodeGeneration/EntityCodeFile.cs | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'Software/Visual_Studio/Tango.CodeGeneration/EntityCodeFile.cs') diff --git a/Software/Visual_Studio/Tango.CodeGeneration/EntityCodeFile.cs b/Software/Visual_Studio/Tango.CodeGeneration/EntityCodeFile.cs index 7de161f71..bc0f37929 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/EntityCodeFile.cs +++ b/Software/Visual_Studio/Tango.CodeGeneration/EntityCodeFile.cs @@ -6,26 +6,65 @@ using System.Threading.Tasks; namespace Tango.CodeGeneration { + /// + /// Represents a database entity code file. + /// + /// public class EntityCodeFile : Class { + /// + /// Gets or sets the name of the entity. + /// public String EntityName { get; set; } + /// + /// Gets or sets the name of the table. + /// public String TableName { get; set; } + /// + /// Gets or sets the table fields. + /// public List Fields { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// The code file name. public EntityCodeFile(String name) : base(name) { Fields = new List(); } } + /// + /// Represents a database entity code file field. + /// public class EntityCodeFileField { + /// + /// Gets or sets the name. + /// public String Name { get; set; } + + /// + /// Gets or sets the name of the field. + /// public String FieldName { get; set; } + + /// + /// Gets or sets the type. + /// public String Type { get; set; } + + /// + /// Gets or sets the description. + /// public String Description { get; set; } + + /// + /// Gets or sets a value indicating whether to initialize this field in the constructor. + /// public bool Construct { get; set; } } } -- cgit v1.3.1