コード例 #1
0
        public override bool InsertDateList(List <CovidDate> pCovidDate)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            _oPostgreSqlInsert = PostgreSqlInsert.GetInstance(oConnection);
            _oPostgreSqlInsert.InsertDateList(pCovidDate);

            return(true);
        }
コード例 #2
0
        public override bool InsertGeoZoneList(List <GeoZone> pGeoZone)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            _oPostgreSqlInsert = PostgreSqlInsert.GetInstance(oConnection);
            _oPostgreSqlInsert.InsertGeoZoneList(pGeoZone);

            return(true);
        }
コード例 #3
0
        public override bool InsertCovidDataList(List <CoVidData> pCovidData, GeoZone pGeoZone)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            _oPostgreSqlInsert = PostgreSqlInsert.GetInstance(oConnection);
            _oPostgreSqlInsert.InsertCovidDataList(pCovidData, pGeoZone);
            _oPostgreSqlInsert = null;

            return(true);
        }
コード例 #4
0
        public override void InsertUser(User pUser, string[] pTableLine)
        {
            ConnectionPostgreSql oConnection;

            this.SetConnection(out oConnection);

            if (_oPostgreSqlInsert is null)
            {
                _oPostgreSqlInsert = PostgreSqlInsert.GetInstance(oConnection);
            }

            _oPostgreSqlInsert.InsertUser(pUser, pTableLine);
        }