public IngestBase(LogHandler LogObject, ODL.Common.DBConnectionDetails DbConnectionInfo, String FileName) { this.Logger = LogObject; this.DataFile = new FileInfo(FileName); try { //Figure out which type of database we have and test the connection. if (DbConnectionInfo.DBType == ODL.Common.SupportedDatabases.PostgreSQL) { this.PostgresConnection = DatabaseUtils.Postgres.ConnectToPostGRES(DbConnectionInfo); } } catch (Exception ex) { LogObject.LogError("Can't connect to the database with specified parameters: " + ex.Message); } }
public USCensusS0901(LogHandler LogObject, ODL.Common.DBConnectionDetails DbConnectionInfo, String FileName) : base(LogObject, DbConnectionInfo, FileName) { }
public TeacherEvaluations(LogHandler LogObject, ODL.Common.DBConnectionDetails DbConnectionInfo, String FileName) : base(LogObject, DbConnectionInfo, FileName) { }