TracingDB synchronized with Production-Monitoring project.

This commit is contained in:
Milan Hanajik
2021-01-14 09:51:15 +01:00
parent 20171e99a6
commit 9416b79b38
14 changed files with 229 additions and 73 deletions
@@ -150,7 +150,7 @@ namespace TBF.BenchControl.Output.DB.ProductionTracing
ISession session = sessionFactory.OpenSession();
#if !DEBUG
/// Only release version registers a workplace
/// Only a release version registers a workplace
TracingDB.DB.RegisterWorkplace(session,
workplace,
Users.GlobalData.GetCurrentUserName(),
@@ -181,7 +181,7 @@ namespace TBF.BenchControl.Output.DB.ProductionTracing
using (ISession session = sessionFactory.OpenSession())
{
TracingDB.DB.UnregisterWorkplace(session, workplace);
TracingDB.DB.UnregisterWorkplaceObsolete(session, workplace);
session.Flush();
}
}