TracingDB synchronized with Production-Monitoring project.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user