diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-30 18:21:37 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-30 18:21:37 +0200 |
| commit | d3ba251f01ae987a14b6379e733a06dbcd77f9e4 (patch) | |
| tree | 55b9b6168c64acb4452d3190c48967ec43c70a27 /Software/Visual_Studio/Tango.CodeGeneration | |
| parent | 26ab24349861999cef4def86ed92da54cba2fc68 (diff) | |
| download | Tango-d3ba251f01ae987a14b6379e733a06dbcd77f9e4.tar.gz Tango-d3ba251f01ae987a14b6379e733a06dbcd77f9e4.zip | |
Moved Observables to Integration !!
Implemented basic sketch for IDS Pack Formulation.
Diffstat (limited to 'Software/Visual_Studio/Tango.CodeGeneration')
4 files changed, 5 insertions, 5 deletions
diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml index 9d5ac4bb1..0c81791cd 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml @@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using Tango.DAL.Remote.DB; -namespace Tango.DAL.Observables +namespace Tango.Integration.Observables { [Table("@(Model.TableName)")] public partial class @(Model.Name) : ObservableEntity<@(Model.Name)> @@ -14,7 +14,7 @@ namespace Tango.DAL.Observables @foreach (var prop in Model.Fields) { <div> - private @(prop.Type) _@(prop.Name.ToLower()); + protected @(prop.Type) _@(prop.Name.ToLower()); /// <summary> /// Gets or sets the @(Model.Name.ToLower()) @(prop.Description). /// </summary> diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EnumerationFile.cshtml b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EnumerationFile.cshtml index 408c9b3d5..a8a632679 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EnumerationFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EnumerationFile.cshtml @@ -4,7 +4,7 @@ using System.Collections.ObjectModel; using System.Linq; using System.ComponentModel; -namespace Tango.DAL.Observables +namespace Tango.Integration.Observables { public enum @(Model.Name) { diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesAdapterFile.cshtml b/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesAdapterFile.cshtml index 856b8ac42..dce9b39e9 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesAdapterFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesAdapterFile.cshtml @@ -1,7 +1,7 @@ using System.Collections.ObjectModel; using System.ComponentModel; -namespace Tango.DAL.Observables +namespace Tango.Integration.Observables { public partial class @(Model.Name) { diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesContextCodeFile.cshtml b/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesContextCodeFile.cshtml index 43330235c..2094c0999 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesContextCodeFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesContextCodeFile.cshtml @@ -6,7 +6,7 @@ using System.Text; using System.Threading.Tasks; using Tango.Settings; -namespace Tango.DAL.Observables +namespace Tango.Integration.Observables { public class ObservablesContext : DbContext { |
