private void InitClass() {
     this.DataSetName = "TeamProjectTime2TDS";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/TeamProjectTime2TDS.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableLFS_TEAM_PROJECT_TIME_DETAIL = new LFS_TEAM_PROJECT_TIME_DETAILDataTable();
     base.Tables.Add(this.tableLFS_TEAM_PROJECT_TIME_DETAIL);
     this.tableLFS_TEAM_PROJECT_TIME_DETAIL_TEMP = new LFS_TEAM_PROJECT_TIME_DETAIL_TEMPDataTable();
     base.Tables.Add(this.tableLFS_TEAM_PROJECT_TIME_DETAIL_TEMP);
     this.tableTemplate = new TemplateDataTable();
     base.Tables.Add(this.tableTemplate);
     this.tableTEAM_PROJECT_TIME_WORK_FUNCTION_CONCAT = new TEAM_PROJECT_TIME_WORK_FUNCTION_CONCATDataTable();
     base.Tables.Add(this.tableTEAM_PROJECT_TIME_WORK_FUNCTION_CONCAT);
     this.tableLFS_TEAM_PROJECT_TIME = new LFS_TEAM_PROJECT_TIMEDataTable();
     base.Tables.Add(this.tableLFS_TEAM_PROJECT_TIME);
     this.tableLFS_TEAM_PROJECT_TIME_SECTION = new LFS_TEAM_PROJECT_TIME_SECTIONDataTable();
     base.Tables.Add(this.tableLFS_TEAM_PROJECT_TIME_SECTION);
     this.tableLFS_TEAM_PROJECT_TIME_SECTION_LATERAL = new LFS_TEAM_PROJECT_TIME_SECTION_LATERALDataTable();
     base.Tables.Add(this.tableLFS_TEAM_PROJECT_TIME_SECTION_LATERAL);
     this.tableLFS_TEAM_PROJECT_TIME_SECTION_MH = new LFS_TEAM_PROJECT_TIME_SECTION_MHDataTable();
     base.Tables.Add(this.tableLFS_TEAM_PROJECT_TIME_SECTION_MH);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("LFS_TEAM_PROJECT_TIME_LFS_TEAM_PROJECT_TIME_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableLFS_TEAM_PROJECT_TIME.TeamProjectTimeIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_TEAM_PROJECT_TIME_DETAIL.TeamProjectTimeIDColumn});
     this.tableLFS_TEAM_PROJECT_TIME_DETAIL.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_LFS_TEAM_PROJECT_TIME_LFS_TEAM_PROJECT_TIME_DETAIL_TEMP", new global::System.Data.DataColumn[] {
                 this.tableLFS_TEAM_PROJECT_TIME.TeamProjectTimeIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_TEAM_PROJECT_TIME_DETAIL_TEMP.TeamProjectTimeIDColumn});
     this.tableLFS_TEAM_PROJECT_TIME_DETAIL_TEMP.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     this.relationLFS_TEAM_PROJECT_TIME_LFS_TEAM_PROJECT_TIME_DETAIL = new global::System.Data.DataRelation("LFS_TEAM_PROJECT_TIME_LFS_TEAM_PROJECT_TIME_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableLFS_TEAM_PROJECT_TIME.TeamProjectTimeIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_TEAM_PROJECT_TIME_DETAIL.TeamProjectTimeIDColumn}, false);
     this.Relations.Add(this.relationLFS_TEAM_PROJECT_TIME_LFS_TEAM_PROJECT_TIME_DETAIL);
 }
 internal LFS_TEAM_PROJECT_TIMERow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableLFS_TEAM_PROJECT_TIME = ((LFS_TEAM_PROJECT_TIMEDataTable)(this.Table));
 }
 internal void InitVars(bool initTable) {
     this.tableLFS_TEAM_PROJECT_TIME_DETAIL = ((LFS_TEAM_PROJECT_TIME_DETAILDataTable)(base.Tables["LFS_TEAM_PROJECT_TIME_DETAIL"]));
     if ((initTable == true)) {
         if ((this.tableLFS_TEAM_PROJECT_TIME_DETAIL != null)) {
             this.tableLFS_TEAM_PROJECT_TIME_DETAIL.InitVars();
         }
     }
     this.tableLFS_TEAM_PROJECT_TIME_DETAIL_TEMP = ((LFS_TEAM_PROJECT_TIME_DETAIL_TEMPDataTable)(base.Tables["LFS_TEAM_PROJECT_TIME_DETAIL_TEMP"]));
     if ((initTable == true)) {
         if ((this.tableLFS_TEAM_PROJECT_TIME_DETAIL_TEMP != null)) {
             this.tableLFS_TEAM_PROJECT_TIME_DETAIL_TEMP.InitVars();
         }
     }
     this.tableTemplate = ((TemplateDataTable)(base.Tables["Template"]));
     if ((initTable == true)) {
         if ((this.tableTemplate != null)) {
             this.tableTemplate.InitVars();
         }
     }
     this.tableTEAM_PROJECT_TIME_WORK_FUNCTION_CONCAT = ((TEAM_PROJECT_TIME_WORK_FUNCTION_CONCATDataTable)(base.Tables["TEAM_PROJECT_TIME_WORK_FUNCTION_CONCAT"]));
     if ((initTable == true)) {
         if ((this.tableTEAM_PROJECT_TIME_WORK_FUNCTION_CONCAT != null)) {
             this.tableTEAM_PROJECT_TIME_WORK_FUNCTION_CONCAT.InitVars();
         }
     }
     this.tableLFS_TEAM_PROJECT_TIME = ((LFS_TEAM_PROJECT_TIMEDataTable)(base.Tables["LFS_TEAM_PROJECT_TIME"]));
     if ((initTable == true)) {
         if ((this.tableLFS_TEAM_PROJECT_TIME != null)) {
             this.tableLFS_TEAM_PROJECT_TIME.InitVars();
         }
     }
     this.tableLFS_TEAM_PROJECT_TIME_SECTION = ((LFS_TEAM_PROJECT_TIME_SECTIONDataTable)(base.Tables["LFS_TEAM_PROJECT_TIME_SECTION"]));
     if ((initTable == true)) {
         if ((this.tableLFS_TEAM_PROJECT_TIME_SECTION != null)) {
             this.tableLFS_TEAM_PROJECT_TIME_SECTION.InitVars();
         }
     }
     this.tableLFS_TEAM_PROJECT_TIME_SECTION_LATERAL = ((LFS_TEAM_PROJECT_TIME_SECTION_LATERALDataTable)(base.Tables["LFS_TEAM_PROJECT_TIME_SECTION_LATERAL"]));
     if ((initTable == true)) {
         if ((this.tableLFS_TEAM_PROJECT_TIME_SECTION_LATERAL != null)) {
             this.tableLFS_TEAM_PROJECT_TIME_SECTION_LATERAL.InitVars();
         }
     }
     this.tableLFS_TEAM_PROJECT_TIME_SECTION_MH = ((LFS_TEAM_PROJECT_TIME_SECTION_MHDataTable)(base.Tables["LFS_TEAM_PROJECT_TIME_SECTION_MH"]));
     if ((initTable == true)) {
         if ((this.tableLFS_TEAM_PROJECT_TIME_SECTION_MH != null)) {
             this.tableLFS_TEAM_PROJECT_TIME_SECTION_MH.InitVars();
         }
     }
     this.relationLFS_TEAM_PROJECT_TIME_LFS_TEAM_PROJECT_TIME_DETAIL = this.Relations["LFS_TEAM_PROJECT_TIME_LFS_TEAM_PROJECT_TIME_DETAIL"];
 }