From bab9f04ae0f251acdb759e72fb54d84d042c533e Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 1 Nov 2021 19:44:34 +0200 Subject: Added Ha Amma spool support via sites. --- .../Tango.DAL.Remote/DB/RemoteADO.Context.cs | 1 + .../Tango.DAL.Remote/DB/RemoteADO.Designer.cs | 2 +- .../Tango.DAL.Remote/DB/RemoteADO.edmx | 109 ++++++++++++++ .../Tango.DAL.Remote/DB/RemoteADO.edmx.diagram | 159 +++++++++++---------- Software/Visual_Studio/Tango.DAL.Remote/DB/SITE.cs | 3 + .../Tango.DAL.Remote/DB/SITES_SPOOL_TYPES.cs | 26 ++++ .../Tango.DAL.Remote/DB/SPOOL_TYPES.cs | 3 + .../Tango.DAL.Remote/Tango.DAL.Remote.csproj | 5 +- 8 files changed, 228 insertions(+), 80 deletions(-) create mode 100644 Software/Visual_Studio/Tango.DAL.Remote/DB/SITES_SPOOL_TYPES.cs (limited to 'Software/Visual_Studio/Tango.DAL.Remote') diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs index 702ce780c..0810b88c8 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs @@ -118,6 +118,7 @@ namespace Tango.DAL.Remote.DB public virtual DbSet SITES { get; set; } public virtual DbSet SITES_CATALOGS { get; set; } public virtual DbSet SITES_RMLS { get; set; } + public virtual DbSet SITES_SPOOL_TYPES { get; set; } public virtual DbSet SPOOL_TYPES { get; set; } public virtual DbSet SPOOLS { get; set; } public virtual DbSet sysdiagrams { get; set; } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Designer.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Designer.cs index b9a889afd..d26e67908 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Designer.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Designer.cs @@ -1,4 +1,4 @@ -// T4 code generation is enabled for model 'C:\TFS\Tango\Software\Visual_Studio\Tango.DAL.Remote\DB\RemoteADO.edmx'. +// T4 code generation is enabled for model 'C:\DATA\Development\Tango\Software\Visual_Studio\Tango.DAL.Remote\DB\RemoteADO.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model // is open in the designer. diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx index 78b7b3fdf..a53e6dffb 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx @@ -1305,6 +1305,16 @@ + + + + + + + + + + @@ -2934,6 +2944,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3145,6 +3183,7 @@ + @@ -3572,6 +3611,14 @@ + + + + + + + + @@ -3775,6 +3822,7 @@ + @@ -4153,6 +4201,14 @@ + + + + + + + + @@ -5969,6 +6025,7 @@ + @@ -5994,6 +6051,18 @@ + + + + + + + + + + + + @@ -6015,6 +6084,7 @@ + @@ -7405,6 +7475,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8968,6 +9066,17 @@ + + + + + + + + + + + diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram index 10bd85a35..be198cefc 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram @@ -5,94 +5,95 @@ - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - - + + + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -181,6 +182,8 @@ + + diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/SITE.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/SITE.cs index c0aa38e97..7086ccbce 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/SITE.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/SITE.cs @@ -19,6 +19,7 @@ namespace Tango.DAL.Remote.DB { this.SITES_CATALOGS = new HashSet(); this.SITES_RMLS = new HashSet(); + this.SITES_SPOOL_TYPES = new HashSet(); } public int ID { get; set; } @@ -33,5 +34,7 @@ namespace Tango.DAL.Remote.DB public virtual ICollection SITES_CATALOGS { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection SITES_RMLS { get; set; } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection SITES_SPOOL_TYPES { get; set; } } } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/SITES_SPOOL_TYPES.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/SITES_SPOOL_TYPES.cs new file mode 100644 index 000000000..f5d93132a --- /dev/null +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/SITES_SPOOL_TYPES.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// 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.Remote.DB +{ + using System; + using System.Collections.Generic; + + public partial class SITES_SPOOL_TYPES + { + public int ID { get; set; } + public string GUID { get; set; } + public System.DateTime LAST_UPDATED { get; set; } + public string SITE_GUID { get; set; } + public string SPOOL_TYPE_GUID { get; set; } + + public virtual SITE SITE { get; set; } + public virtual SPOOL_TYPES SPOOL_TYPES { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs index 836112ec7..732f56b68 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs @@ -19,6 +19,7 @@ namespace Tango.DAL.Remote.DB { this.JOBS = new HashSet(); this.RMLS_SPOOLS = new HashSet(); + this.SITES_SPOOL_TYPES = new HashSet(); this.SPOOLS = new HashSet(); } @@ -43,6 +44,8 @@ namespace Tango.DAL.Remote.DB [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection RMLS_SPOOLS { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection SITES_SPOOL_TYPES { get; set; } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection SPOOLS { get; set; } } } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj b/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj index 424b9585f..f299d1c52 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj +++ b/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj @@ -321,6 +321,9 @@ RemoteADO.tt + + RemoteADO.tt + RemoteADO.tt @@ -452,7 +455,7 @@ - + \ No newline at end of file -- cgit v1.3.1