aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-01-30 18:21:37 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-01-30 18:21:37 +0200
commitd3ba251f01ae987a14b6379e733a06dbcd77f9e4 (patch)
tree55b9b6168c64acb4452d3190c48967ec43c70a27 /Software/Visual_Studio/Tango.CodeGeneration/Templates
parent26ab24349861999cef4def86ed92da54cba2fc68 (diff)
downloadTango-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/Templates')
-rw-r--r--Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml4
-rw-r--r--Software/Visual_Studio/Tango.CodeGeneration/Templates/EnumerationFile.cshtml2
-rw-r--r--Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesAdapterFile.cshtml2
-rw-r--r--Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesContextCodeFile.cshtml2
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
{