diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-07 12:53:01 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-07 12:53:01 +0200 |
| commit | 8d2dc68fdddc51bc24ac6f41feb97460a7d27372 (patch) | |
| tree | 32876416b128d93a47d5b0a228fc405aca0479e9 /Software/Visual_Studio/Tango.DAL.Local/DB | |
| parent | 3d97a759dc712eca6750443b2367c8f755ebb11b (diff) | |
| download | Tango-8d2dc68fdddc51bc24ac6f41feb97460a7d27372.tar.gz Tango-8d2dc68fdddc51bc24ac6f41feb97460a7d27372.zip | |
Implemented validation on machine designer.
Machine Designer seems to be working properly...
Diffstat (limited to 'Software/Visual_Studio/Tango.DAL.Local/DB')
| -rw-r--r-- | Software/Visual_Studio/Tango.DAL.Local/DB/IDS_PACKS.cs | 1 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.DAL.Local/DB/IDS_PACKS.cs b/Software/Visual_Studio/Tango.DAL.Local/DB/IDS_PACKS.cs index c4ffb0cf2..8091dd5d2 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/DB/IDS_PACKS.cs +++ b/Software/Visual_Studio/Tango.DAL.Local/DB/IDS_PACKS.cs @@ -24,5 +24,6 @@ namespace Tango.DAL.Local.DB public string CARTRIDGE_TYPE_GUID { get; set; } public string MID_TANK_TYPE_GUID { get; set; } public string NAME { get; set; } + public long PACK_INDEX { 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 c90afa5ef..85f8c0bad 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx +++ b/Software/Visual_Studio/Tango.DAL.Local/DB/LocalADO.edmx @@ -274,6 +274,7 @@ <Property Name="CARTRIDGE_TYPE_GUID" Type="nvarchar" MaxLength="2147483647" Nullable="false" /> <Property Name="MID_TANK_TYPE_GUID" Type="nvarchar" MaxLength="2147483647" Nullable="false" /> <Property Name="NAME" Type="nvarchar" MaxLength="2147483647" Nullable="false" /> + <Property Name="PACK_INDEX" Type="integer" Nullable="false" /> </EntityType> <EntityType Name="LINEAR_MASS_DENSITY_UNITS"> <Key> @@ -886,6 +887,7 @@ <Property Name="CARTRIDGE_TYPE_GUID" Type="String" Nullable="false" MaxLength="2147483647" FixedLength="false" Unicode="true" /> <Property Name="MID_TANK_TYPE_GUID" Type="String" Nullable="false" MaxLength="2147483647" FixedLength="false" Unicode="true" /> <Property Name="NAME" Type="String" Nullable="false" MaxLength="2147483647" FixedLength="false" Unicode="true" /> + <Property Name="PACK_INDEX" Type="Int64" Nullable="false" /> </EntityType> <EntityType Name="LINEAR_MASS_DENSITY_UNITS"> <Key> @@ -1422,6 +1424,7 @@ <EntitySetMapping Name="IDS_PACKS"> <EntityTypeMapping TypeName="LocalModel.IDS_PACKS"> <MappingFragment StoreEntitySet="IDS_PACKS"> + <ScalarProperty Name="PACK_INDEX" ColumnName="PACK_INDEX" /> <ScalarProperty Name="NAME" ColumnName="NAME" /> <ScalarProperty Name="MID_TANK_TYPE_GUID" ColumnName="MID_TANK_TYPE_GUID" /> <ScalarProperty Name="CARTRIDGE_TYPE_GUID" ColumnName="CARTRIDGE_TYPE_GUID" /> |
