diff options
| author | Roy <roy.mail.net@gmail.com> | 2018-03-01 23:27:24 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2018-03-01 23:27:24 +0200 |
| commit | 65d7f918b273a572d2d9a1d08a2797ea76b10850 (patch) | |
| tree | 9ec592ba65b765153b4e400d90f11d764dc98d00 /Software/Visual_Studio/Tango.CodeGeneration | |
| parent | 7281ce18b916f327f263e938624e8c0d25374620 (diff) | |
| download | Tango-65d7f918b273a572d2d9a1d08a2797ea76b10850.tar.gz Tango-65d7f918b273a572d2d9a1d08a2797ea76b10850.zip | |
Another BL Optimization /:
Diffstat (limited to 'Software/Visual_Studio/Tango.CodeGeneration')
4 files changed, 6 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml index 19455169c..f70b25f0c 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityCodeFile.cshtml @@ -8,7 +8,7 @@ using Newtonsoft.Json; using System.Linq; using Tango.DAL.Remote.DB; -namespace Tango.BL.Observables +namespace Tango.BL.Entities { [Table("@(Model.TableName)")] public partial class @(Model.Name) : ObservableEntity<@(Model.Name)> diff --git a/Software/Visual_Studio/Tango.CodeGeneration/Templates/EnumerationFile.cshtml b/Software/Visual_Studio/Tango.CodeGeneration/Templates/EnumerationFile.cshtml index d8422a6a6..58047e799 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.BL.Observables +namespace Tango.BL.Enumerations { 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 0f4fad741..33e75a6c5 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesAdapterFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesAdapterFile.cshtml @@ -1,7 +1,8 @@ using System.Collections.ObjectModel; using System.ComponentModel; +using Tango.BL.Entities; -namespace Tango.BL.Observables +namespace Tango.BL { 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 edeab8675..1879cb3f2 100644 --- a/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesContextCodeFile.cshtml +++ b/Software/Visual_Studio/Tango.CodeGeneration/Templates/ObservablesContextCodeFile.cshtml @@ -5,8 +5,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.Settings; +using Tango.BL.Entities; -namespace Tango.BL.Observables +namespace Tango.BL { public partial class ObservablesContext : DbContext { |
