Example #1
0
        public override void GetAllDates(List <CovidDate> pCovidDateList)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            if (_oPostgreSqlSelect is null)
            {
                this._oPostgreSqlSelect = PostgreSqlSelect.GetInstance(oConnection);
            }
            _oPostgreSqlSelect.GetAllDates(pCovidDateList);
        }
Example #2
0
        public override void GetAllCountries(List <GeoZone> pCovidCountryList)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            if (_oPostgreSqlSelect is null)
            {
                this._oPostgreSqlSelect = PostgreSqlSelect.GetInstance(oConnection);
            }
            _oPostgreSqlSelect.GetAllCountries(pCovidCountryList);
        }
Example #3
0
        public override void GetAllGeoZoneDataForAllDates(List <GeoZone> pListToComplete)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            if (_oPostgreSqlSelect is null)
            {
                this._oPostgreSqlSelect = PostgreSqlSelect.GetInstance(oConnection);
            }
            _oPostgreSqlSelect.GetAllGeoZoneDataForAllDates(pListToComplete);
        }
Example #4
0
        public override void GetGeoZoneData(CovidData pCovidData, List <GeoZone> pListToComplete)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            if (_oPostgreSqlSelect is null)
            {
                this._oPostgreSqlSelect = PostgreSqlSelect.GetInstance(oConnection);
            }
            _oPostgreSqlSelect.GetGeoZoneData(pCovidData, pListToComplete);
        }
Example #5
0
        public override void SelectUser(User pUser, string[] pTableLine, out User pSelectedUser)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            if (_oPostgreSqlSelect is null)
            {
                _oPostgreSqlSelect = PostgreSqlSelect.GetInstance(oConnection);
            }

            _oPostgreSqlSelect.SelectUser(pUser, pTableLine, out pSelectedUser);
        }
Example #6
0
        public override void SelectAllKeyPairs(List <KeyPair> pKeyPairList, string pTableName)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            if (_oPostgreSqlSelect is null)
            {
                _oPostgreSqlSelect = PostgreSqlSelect.GetInstance(oConnection);
            }

            _oPostgreSqlSelect.SelectAllKeyPairs(pKeyPairList, pTableName);
        }