Fix order update da EFCore x inizio/fine carico impianto

This commit is contained in:
Samuele Locatelli
2021-10-26 15:06:16 +02:00
parent 8a255be19f
commit 9e393cdff1
5 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -497,7 +497,8 @@ namespace GWMS.Data.Controllers
updItem.OrderCode = $"O{updItem.Plant.PlantCode}{updItem.DtOrder:yyMMddHHmm}";
updItem.OrderDesc = $"Ordine {updItem.Plant.PlantDesc} - {updItem.DtOrder}";
}
localDbCtx.Entry(updItem).State = EntityState.Modified;
localDbCtx.Entry(currData).CurrentValues.SetValues(updItem);
//localDbCtx.Entry(currData).State = EntityState.Modified;
localDbCtx.SaveChanges();
}
else
+1 -1
View File
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Version>1.0.2110.2614</Version>
<Version>1.0.2110.2615</Version>
<UserSecretsId>95c9f021-52d1-4390-a670-5810b7b777b0</UserSecretsId>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>GWMS - Gas Warehouse Management System</i>
<h4>Versione: 1.0.2110.2614</h4>
<h4>Versione: 1.0.2110.2615</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
1.0.2110.2614
1.0.2110.2615
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>1.0.2110.2614</version>
<version>1.0.2110.2615</version>
<url>http://nexus.steamware.net/repository/SWS/GWMS/stable/0/GWMS.UI.zip</url>
<changelog>http://nexus.steamware.net/repository/SWS/GWMS/stable/0/ChangeLog.html</changelog>
<mandatory>false</mandatory>