From 470c4eb128244495a65ec07d8f3f991d5f4372fa Mon Sep 17 00:00:00 2001 From: Roy Date: Mon, 12 Sep 2022 06:31:58 +0300 Subject: Added GBD and LUB to DB and BL. --- Software/Visual_Studio/Tango.DAL.Remote/DB/GBD.cs | 34 ++++ Software/Visual_Studio/Tango.DAL.Remote/DB/LUB.cs | 34 ++++ Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs | 4 + .../Tango.DAL.Remote/DB/RemoteADO.Context.cs | 2 + .../Tango.DAL.Remote/DB/RemoteADO.edmx | 152 ++++++++++++++++ .../Tango.DAL.Remote/DB/RemoteADO.edmx.diagram | 192 +++++++++++---------- .../Tango.DAL.Remote/Tango.DAL.Remote.csproj | 8 +- 7 files changed, 331 insertions(+), 95 deletions(-) create mode 100644 Software/Visual_Studio/Tango.DAL.Remote/DB/GBD.cs create mode 100644 Software/Visual_Studio/Tango.DAL.Remote/DB/LUB.cs (limited to 'Software/Visual_Studio/Tango.DAL.Remote') diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/GBD.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/GBD.cs new file mode 100644 index 000000000..49143f0a6 --- /dev/null +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/GBD.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// 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 GBD + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public GBD() + { + this.RMLS = new HashSet(); + } + + public int ID { get; set; } + public string GUID { get; set; } + public System.DateTime LAST_UPDATED { get; set; } + public string NAME { get; set; } + public string DESCRIPTION { get; set; } + public string FILE_NAME { get; set; } + public byte[] DATA { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection RMLS { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/LUB.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/LUB.cs new file mode 100644 index 000000000..ca2d801c9 --- /dev/null +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/LUB.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// 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 LUB + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public LUB() + { + this.RMLS = new HashSet(); + } + + public int ID { get; set; } + public string GUID { get; set; } + public System.DateTime LAST_UPDATED { get; set; } + public string NAME { get; set; } + public string DESCRIPTION { get; set; } + public string FILE_NAME { get; set; } + public byte[] DATA { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection RMLS { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs index f4c6880bc..5488e8c54 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs @@ -56,6 +56,8 @@ namespace Tango.DAL.Remote.DB public int RANK { get; set; } public byte[] THUMBNAIL { get; set; } public string CCT_GUID { get; set; } + public string GBD_GUID { get; set; } + public string LUB_GUID { get; set; } public int COLOR_CONVERSION_VERSION { get; set; } public bool USE_COLOR_LIB_GRADIENTS { get; set; } public bool USE_LIGHT_INKS { get; set; } @@ -89,11 +91,13 @@ namespace Tango.DAL.Remote.DB public virtual ICollection COLOR_CATALOGS_ITEMS_RECIPES { get; set; } public virtual FIBER_SHAPES FIBER_SHAPES { get; set; } public virtual FIBER_SYNTHS FIBER_SYNTHS { get; set; } + public virtual GBD GBD { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection JOBS { get; set; } public virtual LINEAR_MASS_DENSITY_UNITS LINEAR_MASS_DENSITY_UNITS { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection LIQUID_TYPES_RMLS { get; set; } + public virtual LUB LUB { get; set; } public virtual MEDIA_CONDITIONS MEDIA_CONDITIONS { get; set; } public virtual MEDIA_MATERIALS MEDIA_MATERIALS { get; set; } public virtual MEDIA_PURPOSES MEDIA_PURPOSES { get; set; } 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 a4879a500..b611a0972 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs @@ -80,6 +80,7 @@ namespace Tango.DAL.Remote.DB public virtual DbSet FIBER_SHAPES { get; set; } public virtual DbSet FIBER_SYNTHS { get; set; } public virtual DbSet FSE_VERSIONS { get; set; } + public virtual DbSet GBDS { get; set; } public virtual DbSet GLOBAL_DATA_STORE_ITEMS { get; set; } public virtual DbSet HARDWARE_BLOWER_TYPES { get; set; } public virtual DbSet HARDWARE_BLOWERS { get; set; } @@ -103,6 +104,7 @@ namespace Tango.DAL.Remote.DB public virtual DbSet LINEAR_MASS_DENSITY_UNITS { get; set; } public virtual DbSet LIQUID_TYPES { get; set; } public virtual DbSet LIQUID_TYPES_RMLS { get; set; } + public virtual DbSet LUBS { get; set; } public virtual DbSet MACHINE_PROTOTYPES { get; set; } public virtual DbSet MACHINE_STUDIO_VERSIONS { get; set; } public virtual DbSet MACHINE_VERSIONS { get; set; } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx index b9dccd261..d52f40cab 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx @@ -456,6 +456,18 @@ + + + + + + + + + + + + @@ -854,6 +866,18 @@ + + + + + + + + + + + + @@ -1280,6 +1304,8 @@ + + @@ -3162,6 +3188,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -3531,6 +3581,7 @@ + @@ -3554,6 +3605,7 @@ + @@ -4039,6 +4091,14 @@ + + + + + + + + @@ -4292,6 +4352,7 @@ + @@ -4315,6 +4376,7 @@ + @@ -4529,6 +4591,10 @@ + + + + @@ -4641,6 +4707,10 @@ + + + + @@ -5949,6 +6019,19 @@ + + + + + + + + + + + + + @@ -6400,6 +6483,19 @@ + + + + + + + + + + + + + @@ -6722,6 +6818,8 @@ + + @@ -6752,9 +6850,11 @@ + + @@ -7685,6 +7785,18 @@ + + + + + + + + + + + + @@ -8057,6 +8169,18 @@ + + + + + + + + + + + + @@ -9351,6 +9475,19 @@ + + + + + + + + + + + + + @@ -9772,6 +9909,19 @@ + + + + + + + + + + + + + @@ -10067,6 +10217,8 @@ + + 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 afabb27e9..f48276400 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram @@ -5,100 +5,102 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -138,6 +140,7 @@ + @@ -165,6 +168,7 @@ + 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 225dd99c5..2357e9720 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj +++ b/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj @@ -162,6 +162,9 @@ RemoteADO.tt + + RemoteADO.tt + RemoteADO.tt @@ -231,6 +234,9 @@ RemoteADO.tt + + RemoteADO.tt + RemoteADO.tt @@ -491,7 +497,7 @@ - + \ No newline at end of file -- cgit v1.3.1