public override bool InsertDateList(List <CovidDate> pCovidDate) { ConnectionPostgreSql oConnection; this.SetConnection(out oConnection); _oPostgreSqlInsert = PostgreSqlInsert.GetInstance(oConnection); _oPostgreSqlInsert.InsertDateList(pCovidDate); return(true); }
public override bool InsertGeoZoneList(List <GeoZone> pGeoZone) { ConnectionPostgreSql oConnection; this.SetConnection(out oConnection); _oPostgreSqlInsert = PostgreSqlInsert.GetInstance(oConnection); _oPostgreSqlInsert.InsertGeoZoneList(pGeoZone); return(true); }
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); }
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); }