Example #1
0
 private void InitClass() {
     this.DataSetName = "Inspection";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Inspection.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableInspectionYearlyShedule = new InspectionYearlySheduleDataTable();
     base.Tables.Add(this.tableInspectionYearlyShedule);
     this.tableInspectionYearlyScheduleMonthwise = new InspectionYearlyScheduleMonthwiseDataTable();
     base.Tables.Add(this.tableInspectionYearlyScheduleMonthwise);
     this.tableInspectionYearlyScheduleDetail = new InspectionYearlyScheduleDetailDataTable();
     base.Tables.Add(this.tableInspectionYearlyScheduleDetail);
     this.tableInspectionItenary = new InspectionItenaryDataTable();
     base.Tables.Add(this.tableInspectionItenary);
     this.tableInspectionReplies = new InspectionRepliesDataTable();
     base.Tables.Add(this.tableInspectionReplies);
     this.relationFK_InspectionYearlyScheduleMonthwise_InspectionYearlyScheduleDetail = new global::System.Data.DataRelation("FK_InspectionYearlyScheduleMonthwise_InspectionYearlyScheduleDetail", new global::System.Data.DataColumn[] {
                 this.tableInspectionYearlyScheduleDetail.DetailScheduleIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableInspectionYearlyScheduleMonthwise.DetailScheduleIdColumn}, false);
     this.Relations.Add(this.relationFK_InspectionYearlyScheduleMonthwise_InspectionYearlyScheduleDetail);
     this.relationFK_InspectionItenary_InspectionYearlyShedule = new global::System.Data.DataRelation("FK_InspectionItenary_InspectionYearlyShedule", new global::System.Data.DataColumn[] {
                 this.tableInspectionYearlyShedule.ScheduleIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableInspectionItenary.ScheduleIdColumn}, false);
     this.Relations.Add(this.relationFK_InspectionItenary_InspectionYearlyShedule);
     this.relationFK_InspectionYearlyScheduleDetail_InspectionYearlyShedule = new global::System.Data.DataRelation("FK_InspectionYearlyScheduleDetail_InspectionYearlyShedule", new global::System.Data.DataColumn[] {
                 this.tableInspectionYearlyShedule.ScheduleIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableInspectionYearlyScheduleDetail.ScheduleIdColumn}, false);
     this.Relations.Add(this.relationFK_InspectionYearlyScheduleDetail_InspectionYearlyShedule);
 }
Example #2
0
 internal InspectionRepliesRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableInspectionReplies = ((InspectionRepliesDataTable)(this.Table));
 }
Example #3
0
 internal void InitVars(bool initTable) {
     this.tableInspectionYearlyShedule = ((InspectionYearlySheduleDataTable)(base.Tables["InspectionYearlyShedule"]));
     if ((initTable == true)) {
         if ((this.tableInspectionYearlyShedule != null)) {
             this.tableInspectionYearlyShedule.InitVars();
         }
     }
     this.tableInspectionYearlyScheduleMonthwise = ((InspectionYearlyScheduleMonthwiseDataTable)(base.Tables["InspectionYearlyScheduleMonthwise"]));
     if ((initTable == true)) {
         if ((this.tableInspectionYearlyScheduleMonthwise != null)) {
             this.tableInspectionYearlyScheduleMonthwise.InitVars();
         }
     }
     this.tableInspectionYearlyScheduleDetail = ((InspectionYearlyScheduleDetailDataTable)(base.Tables["InspectionYearlyScheduleDetail"]));
     if ((initTable == true)) {
         if ((this.tableInspectionYearlyScheduleDetail != null)) {
             this.tableInspectionYearlyScheduleDetail.InitVars();
         }
     }
     this.tableInspectionItenary = ((InspectionItenaryDataTable)(base.Tables["InspectionItenary"]));
     if ((initTable == true)) {
         if ((this.tableInspectionItenary != null)) {
             this.tableInspectionItenary.InitVars();
         }
     }
     this.tableInspectionReplies = ((InspectionRepliesDataTable)(base.Tables["InspectionReplies"]));
     if ((initTable == true)) {
         if ((this.tableInspectionReplies != null)) {
             this.tableInspectionReplies.InitVars();
         }
     }
     this.relationFK_InspectionYearlyScheduleMonthwise_InspectionYearlyScheduleDetail = this.Relations["FK_InspectionYearlyScheduleMonthwise_InspectionYearlyScheduleDetail"];
     this.relationFK_InspectionItenary_InspectionYearlyShedule = this.Relations["FK_InspectionItenary_InspectionYearlyShedule"];
     this.relationFK_InspectionYearlyScheduleDetail_InspectionYearlyShedule = this.Relations["FK_InspectionYearlyScheduleDetail_InspectionYearlyShedule"];
 }