private void InitClass() {
     this.DataSetName = "DatabaseDataset";
     this.Prefix = "";
     this.Namespace = "http://www.allberg.se/Skytte/Databas.org/DatabaseDataset.xsd";
     this.Locale = new global::System.Globalization.CultureInfo("sv-SE");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCompetition = new CompetitionDataTable();
     base.Tables.Add(this.tableCompetition);
     this.tableClubs = new ClubsDataTable();
     base.Tables.Add(this.tableClubs);
     this.tableCompetitors = new CompetitorsDataTable();
     base.Tables.Add(this.tableCompetitors);
     this.tablePatrols = new PatrolsDataTable();
     base.Tables.Add(this.tablePatrols);
     this.tableCompetitorResults = new CompetitorResultsDataTable();
     base.Tables.Add(this.tableCompetitorResults);
     this.tableWeapons = new WeaponsDataTable();
     base.Tables.Add(this.tableWeapons);
     this.tableShooters = new ShootersDataTable();
     base.Tables.Add(this.tableShooters);
     this.tableStations = new StationsDataTable();
     base.Tables.Add(this.tableStations);
     this.tableTeams = new TeamsDataTable();
     base.Tables.Add(this.tableTeams);
     this.tableDbInfo = new DbInfoDataTable();
     base.Tables.Add(this.tableDbInfo);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("ShootersCompetitors", new global::System.Data.DataColumn[] {
                 this.tableShooters.ShooterIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitors.ShooterIdColumn});
     this.tableCompetitors.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("WeaponsCompetitors", new global::System.Data.DataColumn[] {
                 this.tableWeapons.WeaponIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitors.WeaponIdColumn});
     this.tableCompetitors.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("PatrolsCompetitors", new global::System.Data.DataColumn[] {
                 this.tablePatrols.PatrolIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitors.PatrolIdColumn});
     this.tableCompetitors.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("CompetitionCompetitors", new global::System.Data.DataColumn[] {
                 this.tableCompetition.CompetitionIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitionIdColumn});
     this.tableCompetitors.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("CompetitionPatrols", new global::System.Data.DataColumn[] {
                 this.tableCompetition.CompetitionIdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePatrols.CompetitionIdColumn});
     this.tablePatrols.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("StationsCompetitorResults", new global::System.Data.DataColumn[] {
                 this.tableStations.StationIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitorResults.StationIdColumn});
     this.tableCompetitorResults.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("CompetitorsCompetitorResults", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitorResults.CompetitorIdColumn});
     this.tableCompetitorResults.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("ClubsShooters", new global::System.Data.DataColumn[] {
                 this.tableClubs.ClubIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableShooters.ClubIdColumn});
     this.tableShooters.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("CompetitionLanes", new global::System.Data.DataColumn[] {
                 this.tableCompetition.CompetitionIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableStations.CompetitionIdColumn});
     this.tableStations.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("CompetitorsTeams3", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId3Column});
     this.tableTeams.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("CompetitorsTeams4", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId4Column});
     this.tableTeams.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("ClubsTeams", new global::System.Data.DataColumn[] {
                 this.tableClubs.ClubIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.ClubIdColumn});
     this.tableTeams.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("CompetitorsTeams2", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId2Column});
     this.tableTeams.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("CompetitorsTeams1", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId1Column});
     this.tableTeams.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     this.relationShootersCompetitors = new global::System.Data.DataRelation("ShootersCompetitors", new global::System.Data.DataColumn[] {
                 this.tableShooters.ShooterIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitors.ShooterIdColumn}, false);
     this.Relations.Add(this.relationShootersCompetitors);
     this.relationWeaponsCompetitors = new global::System.Data.DataRelation("WeaponsCompetitors", new global::System.Data.DataColumn[] {
                 this.tableWeapons.WeaponIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitors.WeaponIdColumn}, false);
     this.Relations.Add(this.relationWeaponsCompetitors);
     this.relationPatrolsCompetitors = new global::System.Data.DataRelation("PatrolsCompetitors", new global::System.Data.DataColumn[] {
                 this.tablePatrols.PatrolIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitors.PatrolIdColumn}, false);
     this.Relations.Add(this.relationPatrolsCompetitors);
     this.relationCompetitionCompetitors = new global::System.Data.DataRelation("CompetitionCompetitors", new global::System.Data.DataColumn[] {
                 this.tableCompetition.CompetitionIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitionIdColumn}, false);
     this.Relations.Add(this.relationCompetitionCompetitors);
     this.relationCompetitionPatrols = new global::System.Data.DataRelation("CompetitionPatrols", new global::System.Data.DataColumn[] {
                 this.tableCompetition.CompetitionIdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePatrols.CompetitionIdColumn}, false);
     this.Relations.Add(this.relationCompetitionPatrols);
     this.relationStationsCompetitorResults = new global::System.Data.DataRelation("StationsCompetitorResults", new global::System.Data.DataColumn[] {
                 this.tableStations.StationIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitorResults.StationIdColumn}, false);
     this.Relations.Add(this.relationStationsCompetitorResults);
     this.relationCompetitorsCompetitorResults = new global::System.Data.DataRelation("CompetitorsCompetitorResults", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompetitorResults.CompetitorIdColumn}, false);
     this.Relations.Add(this.relationCompetitorsCompetitorResults);
     this.relationClubsShooters = new global::System.Data.DataRelation("ClubsShooters", new global::System.Data.DataColumn[] {
                 this.tableClubs.ClubIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableShooters.ClubIdColumn}, false);
     this.Relations.Add(this.relationClubsShooters);
     this.relationCompetitionLanes = new global::System.Data.DataRelation("CompetitionLanes", new global::System.Data.DataColumn[] {
                 this.tableCompetition.CompetitionIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableStations.CompetitionIdColumn}, false);
     this.Relations.Add(this.relationCompetitionLanes);
     this.relationCompetitorsTeams3 = new global::System.Data.DataRelation("CompetitorsTeams3", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId3Column}, false);
     this.Relations.Add(this.relationCompetitorsTeams3);
     this.relationCompetitorsTeams4 = new global::System.Data.DataRelation("CompetitorsTeams4", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId4Column}, false);
     this.Relations.Add(this.relationCompetitorsTeams4);
     this.relationClubsTeams = new global::System.Data.DataRelation("ClubsTeams", new global::System.Data.DataColumn[] {
                 this.tableClubs.ClubIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.ClubIdColumn}, false);
     this.Relations.Add(this.relationClubsTeams);
     this.relationCompetitorsTeams2 = new global::System.Data.DataRelation("CompetitorsTeams2", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId2Column}, false);
     this.Relations.Add(this.relationCompetitorsTeams2);
     this.relationCompetitorsTeams1 = new global::System.Data.DataRelation("CompetitorsTeams1", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId1Column}, false);
     this.Relations.Add(this.relationCompetitorsTeams1);
     this.relationCompetitorsTeams5 = new global::System.Data.DataRelation("CompetitorsTeams5", new global::System.Data.DataColumn[] {
                 this.tableCompetitors.CompetitorIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableTeams.CompetitorId5Column}, false);
     this.Relations.Add(this.relationCompetitorsTeams5);
 }
 internal DbInfoRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableDbInfo = ((DbInfoDataTable)(this.Table));
 }
 internal void InitVars(bool initTable) {
     this.tableCompetition = ((CompetitionDataTable)(base.Tables["Competition"]));
     if ((initTable == true)) {
         if ((this.tableCompetition != null)) {
             this.tableCompetition.InitVars();
         }
     }
     this.tableClubs = ((ClubsDataTable)(base.Tables["Clubs"]));
     if ((initTable == true)) {
         if ((this.tableClubs != null)) {
             this.tableClubs.InitVars();
         }
     }
     this.tableCompetitors = ((CompetitorsDataTable)(base.Tables["Competitors"]));
     if ((initTable == true)) {
         if ((this.tableCompetitors != null)) {
             this.tableCompetitors.InitVars();
         }
     }
     this.tablePatrols = ((PatrolsDataTable)(base.Tables["Patrols"]));
     if ((initTable == true)) {
         if ((this.tablePatrols != null)) {
             this.tablePatrols.InitVars();
         }
     }
     this.tableCompetitorResults = ((CompetitorResultsDataTable)(base.Tables["CompetitorResults"]));
     if ((initTable == true)) {
         if ((this.tableCompetitorResults != null)) {
             this.tableCompetitorResults.InitVars();
         }
     }
     this.tableWeapons = ((WeaponsDataTable)(base.Tables["Weapons"]));
     if ((initTable == true)) {
         if ((this.tableWeapons != null)) {
             this.tableWeapons.InitVars();
         }
     }
     this.tableShooters = ((ShootersDataTable)(base.Tables["Shooters"]));
     if ((initTable == true)) {
         if ((this.tableShooters != null)) {
             this.tableShooters.InitVars();
         }
     }
     this.tableStations = ((StationsDataTable)(base.Tables["Stations"]));
     if ((initTable == true)) {
         if ((this.tableStations != null)) {
             this.tableStations.InitVars();
         }
     }
     this.tableTeams = ((TeamsDataTable)(base.Tables["Teams"]));
     if ((initTable == true)) {
         if ((this.tableTeams != null)) {
             this.tableTeams.InitVars();
         }
     }
     this.tableDbInfo = ((DbInfoDataTable)(base.Tables["DbInfo"]));
     if ((initTable == true)) {
         if ((this.tableDbInfo != null)) {
             this.tableDbInfo.InitVars();
         }
     }
     this.relationShootersCompetitors = this.Relations["ShootersCompetitors"];
     this.relationWeaponsCompetitors = this.Relations["WeaponsCompetitors"];
     this.relationPatrolsCompetitors = this.Relations["PatrolsCompetitors"];
     this.relationCompetitionCompetitors = this.Relations["CompetitionCompetitors"];
     this.relationCompetitionPatrols = this.Relations["CompetitionPatrols"];
     this.relationStationsCompetitorResults = this.Relations["StationsCompetitorResults"];
     this.relationCompetitorsCompetitorResults = this.Relations["CompetitorsCompetitorResults"];
     this.relationClubsShooters = this.Relations["ClubsShooters"];
     this.relationCompetitionLanes = this.Relations["CompetitionLanes"];
     this.relationCompetitorsTeams3 = this.Relations["CompetitorsTeams3"];
     this.relationCompetitorsTeams4 = this.Relations["CompetitorsTeams4"];
     this.relationClubsTeams = this.Relations["ClubsTeams"];
     this.relationCompetitorsTeams2 = this.Relations["CompetitorsTeams2"];
     this.relationCompetitorsTeams1 = this.Relations["CompetitorsTeams1"];
     this.relationCompetitorsTeams5 = this.Relations["CompetitorsTeams5"];
 }