private void checkToUpdate(DataSetWinShooter.ShootersRow shooterRow) { DSLocalCache temp = new DSLocalCache(); DSLocalCache.ShootersRow newShooterRow = temp.Shooters.NewShootersRow(); newShooterRow.Cardnr = shooterRow.Cardnr; newShooterRow.Class = shooterRow.Class; newShooterRow.ClubId = shooterRow.ClubId; newShooterRow.Email = shooterRow.Email; newShooterRow.Givenname = shooterRow.Givenname; newShooterRow.LastUpdate = DateTime.Parse("2004-01-01"); newShooterRow.Surname = shooterRow.Surname; checkToUpdate(newShooterRow); }
private void checkToUpdate(DataSetWinShooter.ClubsRow clubRow) { DSLocalCache temp = new DSLocalCache(); DSLocalCache.ClubsRow newClubsRow = temp.Clubs.NewClubsRow(); newClubsRow.Bankgiro = clubRow.Bankgiro; newClubsRow.ClubId = clubRow.ClubId; newClubsRow.Country = clubRow.Country; newClubsRow.Email = clubRow.Email; newClubsRow.Name = clubRow.Name; newClubsRow.Plusgiro = clubRow.Plusgiro; newClubsRow.LastUpdate = DateTime.Parse("2004-01-01"); checkToUpdate(newClubsRow); }