Reconfigured for iPerlST, ProcessDataEventArgs related modifictions.

This commit is contained in:
Milan Hanajik
2016-02-10 16:52:59 +01:00
parent 42a9ecda27
commit 3775913a33
6 changed files with 75 additions and 78 deletions
@@ -66,19 +66,9 @@ namespace TBF.BenchControl.DB.SensusOracle
public void Initialize()
{
if (DBCfg.DBUsed == DBUsed.Test)
{
connection = new OracleConnection("Data Source=STARA_TEST.WORLD;User Id=deltachef;Password=deltachef;");
}
else if (DBCfg.DBUsed == DBUsed.Production)
{
connection = new OracleConnection("Data Source=STARA01.WORLD;User Id=deltachef;Password=deltachef;");
}
else if (DBCfg.DBUsed == DBUsed.Quality)
{
/// Temporarily use test database
connection = new OracleConnection("Data Source=STARA_TEST.WORLD;User Id=deltachef;Password=deltachef;");
}
connection = (DBCfg.DBUsed == DBUsed.Production)
? new OracleConnection("Data Source=STARA01.WORLD;User Id=deltachef;Password=deltachef;")
: new OracleConnection("Data Source=STARA_TEST.WORLD;User Id=deltachef;Password=deltachef;");
if (DBCfg.DebugLevel == DebugMode.Simulate) return;