bool updateRaceDay() { try { var meetings = parseRaceDay(); DBGatewayTatts.UpdateTattsData(meetings, null, null, null); return(true); } catch (Exception e) { Log.Instance.ErrorException(Name + ": failed to update database with RaceDay.xml", e); return(false); } }
protected override void updateRaces(List <Meeting> meetings, List <Race> races, List <Runner> runners, List <RaceOdds> odds) { DBGatewayTatts.UpdateTattsData(meetings, races.Cast <RaceTatts>(), runners.Cast <RunnerTatts>(), odds); }