private void InitClass() { this.DataSetName = "DataSet1"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DataSet1.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableviewPayrollByInstructor = new viewPayrollByInstructorDataTable(); base.Tables.Add(this.tableviewPayrollByInstructor); this.tableGetPayrollByInstructor = new GetPayrollByInstructorDataTable(); base.Tables.Add(this.tableGetPayrollByInstructor); this.tableviewInstructorPaymentDetails = new viewInstructorPaymentDetailsDataTable(); base.Tables.Add(this.tableviewInstructorPaymentDetails); this.tableviewSimpleProgramInfo = new viewSimpleProgramInfoDataTable(); base.Tables.Add(this.tableviewSimpleProgramInfo); this.tableViewProgramReport = new ViewProgramReportDataTable(); base.Tables.Add(this.tableViewProgramReport); this.tableviewProgramReportClassDetails = new viewProgramReportClassDetailsDataTable(); base.Tables.Add(this.tableviewProgramReportClassDetails); this.tablePivotReport = new PivotReportDataTable(); base.Tables.Add(this.tablePivotReport); this.tableviewPivotCourseDetails = new viewPivotCourseDetailsDataTable(); base.Tables.Add(this.tableviewPivotCourseDetails); this.relationViewProgramReport_viewProgramReportClassDetails = new global::System.Data.DataRelation("ViewProgramReport_viewProgramReportClassDetails", new global::System.Data.DataColumn[] { this.tableViewProgramReport.ProgramIdColumn}, new global::System.Data.DataColumn[] { this.tableviewProgramReportClassDetails.ProgramIdColumn}, false); this.Relations.Add(this.relationViewProgramReport_viewProgramReportClassDetails); this.relationViewProgramReport_PivotReport = new global::System.Data.DataRelation("ViewProgramReport_PivotReport", new global::System.Data.DataColumn[] { this.tableViewProgramReport.ProgramIdColumn}, new global::System.Data.DataColumn[] { this.tablePivotReport.ProgramIDColumn}, false); this.Relations.Add(this.relationViewProgramReport_PivotReport); }
internal viewPayrollByInstructorRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableviewPayrollByInstructor = ((viewPayrollByInstructorDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableviewPayrollByInstructor = ((viewPayrollByInstructorDataTable)(base.Tables["viewPayrollByInstructor"])); if ((initTable == true)) { if ((this.tableviewPayrollByInstructor != null)) { this.tableviewPayrollByInstructor.InitVars(); } } this.tableGetPayrollByInstructor = ((GetPayrollByInstructorDataTable)(base.Tables["GetPayrollByInstructor"])); if ((initTable == true)) { if ((this.tableGetPayrollByInstructor != null)) { this.tableGetPayrollByInstructor.InitVars(); } } this.tableviewInstructorPaymentDetails = ((viewInstructorPaymentDetailsDataTable)(base.Tables["viewInstructorPaymentDetails"])); if ((initTable == true)) { if ((this.tableviewInstructorPaymentDetails != null)) { this.tableviewInstructorPaymentDetails.InitVars(); } } this.tableviewSimpleProgramInfo = ((viewSimpleProgramInfoDataTable)(base.Tables["viewSimpleProgramInfo"])); if ((initTable == true)) { if ((this.tableviewSimpleProgramInfo != null)) { this.tableviewSimpleProgramInfo.InitVars(); } } this.tableViewProgramReport = ((ViewProgramReportDataTable)(base.Tables["ViewProgramReport"])); if ((initTable == true)) { if ((this.tableViewProgramReport != null)) { this.tableViewProgramReport.InitVars(); } } this.tableviewProgramReportClassDetails = ((viewProgramReportClassDetailsDataTable)(base.Tables["viewProgramReportClassDetails"])); if ((initTable == true)) { if ((this.tableviewProgramReportClassDetails != null)) { this.tableviewProgramReportClassDetails.InitVars(); } } this.tablePivotReport = ((PivotReportDataTable)(base.Tables["PivotReport"])); if ((initTable == true)) { if ((this.tablePivotReport != null)) { this.tablePivotReport.InitVars(); } } this.tableviewPivotCourseDetails = ((viewPivotCourseDetailsDataTable)(base.Tables["viewPivotCourseDetails"])); if ((initTable == true)) { if ((this.tableviewPivotCourseDetails != null)) { this.tableviewPivotCourseDetails.InitVars(); } } this.relationViewProgramReport_viewProgramReportClassDetails = this.Relations["ViewProgramReport_viewProgramReportClassDetails"]; this.relationViewProgramReport_PivotReport = this.Relations["ViewProgramReport_PivotReport"]; }