From 3eabdee9604ad67cdbab7ee35bdfa249402f8831 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 10 Dec 2017 16:46:54 +0200 Subject: Implemented DB Observables Generator CLI for DAL.Observables post build event. Changes DB table FIBER_SYNTHESIS to FIBER_SYNTHESISES to normalize singularization. --- .../Tango.DAL.Local/DB/FIBER_SYNTHESIS.cs | 22 ---------------------- .../Tango.DAL.Local/DB/FIBER_SYNTHESISES.cs | 22 ++++++++++++++++++++++ .../Tango.DAL.Local/DB/LocalADO.Context.cs | 2 +- .../Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx | 14 +++++++------- .../Tango.DAL.Local/DB/LocalADO.edmx.diagram | 2 +- .../Tango.DAL.Local/Tango.DAL.Local.csproj | 2 +- 6 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 Software/Visual_Studio/Tango.DAL.Local/DB/FIBER_SYNTHESIS.cs create mode 100644 Software/Visual_Studio/Tango.DAL.Local/DB/FIBER_SYNTHESISES.cs (limited to 'Software/Visual_Studio/Tango.DAL.Local') diff --git a/Software/Visual_Studio/Tango.DAL.Local/DB/FIBER_SYNTHESIS.cs b/Software/Visual_Studio/Tango.DAL.Local/DB/FIBER_SYNTHESIS.cs deleted file mode 100644 index 07f0375b6..000000000 --- a/Software/Visual_Studio/Tango.DAL.Local/DB/FIBER_SYNTHESIS.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated from a template. -// -// Manual changes to this file may cause unexpected behavior in your application. -// Manual changes to this file will be overwritten if the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Tango.DAL.Local.DB -{ - using System; - using System.Collections.Generic; - - public partial class FIBER_SYNTHESIS - { - public long ID { get; set; } - public string GUID { get; set; } - public System.DateTime LAST_UPDATED { get; set; } - public bool DELETED { get; set; } - } -} diff --git a/Software/Visual_Studio/Tango.DAL.Local/DB/FIBER_SYNTHESISES.cs b/Software/Visual_Studio/Tango.DAL.Local/DB/FIBER_SYNTHESISES.cs new file mode 100644 index 000000000..f6667a7c1 --- /dev/null +++ b/Software/Visual_Studio/Tango.DAL.Local/DB/FIBER_SYNTHESISES.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated from a template. +// +// Manual changes to this file may cause unexpected behavior in your application. +// Manual changes to this file will be overwritten if the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Tango.DAL.Local.DB +{ + using System; + using System.Collections.Generic; + + public partial class FIBER_SYNTHESISES + { + public long ID { get; set; } + public string GUID { get; set; } + public System.DateTime LAST_UPDATED { get; set; } + public bool DELETED { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.Context.cs b/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.Context.cs index cef37a5d8..1c639e33d 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.Context.cs +++ b/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.Context.cs @@ -42,7 +42,7 @@ namespace Tango.DAL.Local.DB public virtual DbSet EVENTS { get; set; } public virtual DbSet EVENTS_ACTIONS { get; set; } public virtual DbSet FIBER_SHAPES { get; set; } - public virtual DbSet FIBER_SYNTHESIS { get; set; } + public virtual DbSet FIBER_SYNTHESISES { get; set; } public virtual DbSet HARDWARE_VERSIONS { get; set; } public virtual DbSet IDS_PACKS { get; set; } public virtual DbSet LINEAR_MASS_DENSITY_UNITS { get; set; } diff --git a/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx b/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx index 7b8078983..f426d5645 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx +++ b/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx @@ -188,7 +188,7 @@ - + @@ -472,7 +472,7 @@ - + @@ -518,7 +518,7 @@ - + @@ -725,7 +725,7 @@ - + @@ -1197,9 +1197,9 @@ - - - + + + diff --git a/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx.diagram b/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx.diagram index 6f8768e4b..ceebf2b45 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx.diagram +++ b/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx.diagram @@ -22,7 +22,7 @@ - + diff --git a/Software/Visual_Studio/Tango.DAL.Local/Tango.DAL.Local.csproj b/Software/Visual_Studio/Tango.DAL.Local/Tango.DAL.Local.csproj index f891e703d..2296ce942 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/Tango.DAL.Local.csproj +++ b/Software/Visual_Studio/Tango.DAL.Local/Tango.DAL.Local.csproj @@ -116,7 +116,7 @@ LocalADO.tt - + LocalADO.tt -- cgit v1.3.1