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