Exemple #1
0
 public AGServer()
 {
     DataFactory.DataFactory.ConnectionString  = StaticConfigs.GetDBConfig("OracleConnectionString");
     DataFactory.DataFactory.SqlCommandTimeout = int.Parse(StaticConfigs.GetDBConfig("SqlCommandTimeout"));
     _dataServiceSample = new DataServiceFactory();
 }
Exemple #2
0
 public DataAccessMgr()
 {
     SqlCommandTimeout = StaticConfigs.GetDBConfig("SqlCommandTimeout").ToInt();
     ConnectionString  = StaticConfigs.GetDBConfig("OracleConnectionString").ToStringEx();
 }