Reconfigured for iPerlST, ProcessDataEventArgs related modifictions.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user