aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml')
-rw-r--r--Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml4
1 files changed, 2 insertions, 2 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>