/// <summary> /// Connects to the /// </summary> /// <returns></returns> private bool ConnectAndExtract() { bool success = true; _connection = base.Login(); if (_connection != null) { _dBPushFunctions = new DBPushFunctions(_connection); _dBPullFunctions = new DBPullFunctions(_connection); // try // { Extract(); //} //catch (ExceptionName e ) //{ // success = false; //} } else { success = false; } _connection.Dispose(); return(success); }
/// <summary> /// Since a way to push information is needed then this will be added. /// </summary> /// <param name="dbUtil"></param> public void AddDbPullFunctions(DBPullFunctions dbPull) { _dbPull = dbPull; }