public ClubsRow AddClubsRow(string ClubId, string ClubName) { ClubsRow rowClubsRow = ((ClubsRow)(this.NewRow())); rowClubsRow.ItemArray = new object[] { ClubId, ClubName }; this.Rows.Add(rowClubsRow); return(rowClubsRow); }
public ClubsRow AddClubsRow(string ClubId, string Name, string Country, string Email, string Plusgiro, string Bankgiro) { ClubsRow rowClubsRow = ((ClubsRow)(this.NewRow())); rowClubsRow.ItemArray = new object[] { ClubId, Name, Country, Email, Plusgiro, Bankgiro }; this.Rows.Add(rowClubsRow); return(rowClubsRow); }
public void RemoveClubsRow(ClubsRow row) { this.Rows.Remove(row); }
public void AddClubsRow(ClubsRow row) { this.Rows.Add(row); }
public ClubsRowChangeEvent(ClubsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public ShootersRow AddShootersRow(string Cardnr, string Surname, string Givenname, string Email, ClubsRow parentClubsRowByClubsShooters, int Class, System.DateTime LastUpdate) { ShootersRow rowShootersRow = ((ShootersRow)(this.NewRow())); object[] columnValuesArray = new object[] { Cardnr, Surname, Givenname, Email, null, Class, LastUpdate}; if ((parentClubsRowByClubsShooters != null)) { columnValuesArray[4] = parentClubsRowByClubsShooters[0]; } rowShootersRow.ItemArray = columnValuesArray; this.Rows.Add(rowShootersRow); return rowShootersRow; }
public ShootersRow AddShootersRow(string Cardnr, string Surname, string Givenname, string Email, ClubsRow parentClubsRowByClubsShooters, int Class) { ShootersRow rowShootersRow = ((ShootersRow)(this.NewRow())); rowShootersRow.ItemArray = new object[] { Cardnr, Surname, Givenname, Email, parentClubsRowByClubsShooters[0], Class}; this.Rows.Add(rowShootersRow); return rowShootersRow; }
public ClubsRowChangeEvent(ClubsRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public TeamsRow AddTeamsRow(int TeamId, string Name, CompetitorsRow parentCompetitorsRowByCompetitorsTeams1, CompetitorsRow parentCompetitorsRowByCompetitorsTeams2, CompetitorsRow parentCompetitorsRowByCompetitorsTeams3, CompetitorsRow parentCompetitorsRowByCompetitorsTeams4, CompetitorsRow parentCompetitorsRowByCompetitorsTeams5, ClubsRow parentClubsRowByClubsTeams, int WClass) { TeamsRow rowTeamsRow = ((TeamsRow)(this.NewRow())); object[] columnValuesArray = new object[] { TeamId, Name, null, null, null, null, null, null, WClass}; if ((parentCompetitorsRowByCompetitorsTeams1 != null)) { columnValuesArray[2] = parentCompetitorsRowByCompetitorsTeams1[0]; } if ((parentCompetitorsRowByCompetitorsTeams2 != null)) { columnValuesArray[3] = parentCompetitorsRowByCompetitorsTeams2[0]; } if ((parentCompetitorsRowByCompetitorsTeams3 != null)) { columnValuesArray[4] = parentCompetitorsRowByCompetitorsTeams3[0]; } if ((parentCompetitorsRowByCompetitorsTeams4 != null)) { columnValuesArray[5] = parentCompetitorsRowByCompetitorsTeams4[0]; } if ((parentCompetitorsRowByCompetitorsTeams5 != null)) { columnValuesArray[6] = parentCompetitorsRowByCompetitorsTeams5[0]; } if ((parentClubsRowByClubsTeams != null)) { columnValuesArray[7] = parentClubsRowByClubsTeams[0]; } rowTeamsRow.ItemArray = columnValuesArray; this.Rows.Add(rowTeamsRow); return rowTeamsRow; }
public ShootersRow AddShootersRow(int ShooterId, string Cardnr, string Surname, string Givenname, string Email, ClubsRow parentClubsRowByClubsShooters, int Payed, bool ToAutomatic, bool Automatic, int Class, bool Arrived, bool EmailResult, System.DateTime LastUpdate) { ShootersRow rowShootersRow = ((ShootersRow)(this.NewRow())); object[] columnValuesArray = new object[] { ShooterId, Cardnr, Surname, Givenname, Email, null, Payed, ToAutomatic, Automatic, Class, Arrived, EmailResult, LastUpdate}; if ((parentClubsRowByClubsShooters != null)) { columnValuesArray[5] = parentClubsRowByClubsShooters[0]; } rowShootersRow.ItemArray = columnValuesArray; this.Rows.Add(rowShootersRow); return rowShootersRow; }
public ShootersRow AddShootersRow(string Cardnr, string Surname, string Givenname, string Email, ClubsRow parentClubsRowByClubsShooters, int Class) { ShootersRow rowShootersRow = ((ShootersRow)(this.NewRow())); rowShootersRow.ItemArray = new object[] { Cardnr, Surname, Givenname, Email, parentClubsRowByClubsShooters[0], Class }; this.Rows.Add(rowShootersRow); return(rowShootersRow); }