private void InitClass() { this.DataSetName = "InspectionDetails"; this.Prefix = ""; this.Namespace = "http://tempuri.org/InspectionDetails.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableInspectionDetails = new InspectionDetailsDataTable(); base.Tables.Add(this.tableInspectionDetails); this.tableCheckListInspection = new CheckListInspectionDataTable(); base.Tables.Add(this.tableCheckListInspection); this.tableInspectionTypeMaster = new InspectionTypeMasterDataTable(); base.Tables.Add(this.tableInspectionTypeMaster); this.tableInspectionCheckListMaster = new InspectionCheckListMasterDataTable(); base.Tables.Add(this.tableInspectionCheckListMaster); this.tableInspectionQueries = new InspectionQueriesDataTable(); base.Tables.Add(this.tableInspectionQueries); this.tableOffices = new OfficesDataTable(); base.Tables.Add(this.tableOffices); this.tableInspectionMemo = new InspectionMemoDataTable(); base.Tables.Add(this.tableInspectionMemo); this.tableInspectionMemoAction = new InspectionMemoActionDataTable(); base.Tables.Add(this.tableInspectionMemoAction); this.tableInspectingOfficer = new InspectingOfficerDataTable(); base.Tables.Add(this.tableInspectingOfficer); this.relationFK_CheckListInspection_InspectionDetails = new global::System.Data.DataRelation("FK_CheckListInspection_InspectionDetails", new global::System.Data.DataColumn[] { this.tableInspectionDetails.InspectionIdColumn}, new global::System.Data.DataColumn[] { this.tableCheckListInspection.InspectionIdColumn}, false); this.Relations.Add(this.relationFK_CheckListInspection_InspectionDetails); this.relationFK_InspectionDetails_InspectionTypeMaster1 = new global::System.Data.DataRelation("FK_InspectionDetails_InspectionTypeMaster1", new global::System.Data.DataColumn[] { this.tableInspectionTypeMaster.InspectionTypeIdColumn}, new global::System.Data.DataColumn[] { this.tableInspectionDetails.InspectionTypeIdColumn}, false); this.Relations.Add(this.relationFK_InspectionDetails_InspectionTypeMaster1); this.relationFK_CheckListInspection_InspectionCheckListMaster = new global::System.Data.DataRelation("FK_CheckListInspection_InspectionCheckListMaster", new global::System.Data.DataColumn[] { this.tableInspectionCheckListMaster.CheckListIdColumn}, new global::System.Data.DataColumn[] { this.tableCheckListInspection.InspectionCheckListIdColumn}, false); this.Relations.Add(this.relationFK_CheckListInspection_InspectionCheckListMaster); this.relationFK_InspectionCheckListMaster_InspectionTypeMaster = new global::System.Data.DataRelation("FK_InspectionCheckListMaster_InspectionTypeMaster", new global::System.Data.DataColumn[] { this.tableInspectionTypeMaster.InspectionTypeIdColumn}, new global::System.Data.DataColumn[] { this.tableInspectionCheckListMaster.InspectionTypeIdColumn}, false); this.Relations.Add(this.relationFK_InspectionCheckListMaster_InspectionTypeMaster); this.relationFK_InspectionQueries_InspectionDetails = new global::System.Data.DataRelation("FK_InspectionQueries_InspectionDetails", new global::System.Data.DataColumn[] { this.tableInspectionDetails.InspectionIdColumn}, new global::System.Data.DataColumn[] { this.tableInspectionQueries.InspectionIdColumn}, false); this.Relations.Add(this.relationFK_InspectionQueries_InspectionDetails); this.relationFK_InspectionDetails_Offices = new global::System.Data.DataRelation("FK_InspectionDetails_Offices", new global::System.Data.DataColumn[] { this.tableOffices.OfficeIdColumn}, new global::System.Data.DataColumn[] { this.tableInspectionDetails.InspectedOfficeIdColumn}, false); this.Relations.Add(this.relationFK_InspectionDetails_Offices); this.relationFK_InspectingOfficer_InspectionDetails = new global::System.Data.DataRelation("FK_InspectingOfficer_InspectionDetails", new global::System.Data.DataColumn[] { this.tableInspectionDetails.InspectionIdColumn}, new global::System.Data.DataColumn[] { this.tableInspectingOfficer.InspectionIdColumn}, false); this.Relations.Add(this.relationFK_InspectingOfficer_InspectionDetails); }
internal InspectionMemoRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableInspectionMemo = ((InspectionMemoDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableInspectionDetails = ((InspectionDetailsDataTable)(base.Tables["InspectionDetails"])); if ((initTable == true)) { if ((this.tableInspectionDetails != null)) { this.tableInspectionDetails.InitVars(); } } this.tableCheckListInspection = ((CheckListInspectionDataTable)(base.Tables["CheckListInspection"])); if ((initTable == true)) { if ((this.tableCheckListInspection != null)) { this.tableCheckListInspection.InitVars(); } } this.tableInspectionTypeMaster = ((InspectionTypeMasterDataTable)(base.Tables["InspectionTypeMaster"])); if ((initTable == true)) { if ((this.tableInspectionTypeMaster != null)) { this.tableInspectionTypeMaster.InitVars(); } } this.tableInspectionCheckListMaster = ((InspectionCheckListMasterDataTable)(base.Tables["InspectionCheckListMaster"])); if ((initTable == true)) { if ((this.tableInspectionCheckListMaster != null)) { this.tableInspectionCheckListMaster.InitVars(); } } this.tableInspectionQueries = ((InspectionQueriesDataTable)(base.Tables["InspectionQueries"])); if ((initTable == true)) { if ((this.tableInspectionQueries != null)) { this.tableInspectionQueries.InitVars(); } } this.tableOffices = ((OfficesDataTable)(base.Tables["Offices"])); if ((initTable == true)) { if ((this.tableOffices != null)) { this.tableOffices.InitVars(); } } this.tableInspectionMemo = ((InspectionMemoDataTable)(base.Tables["InspectionMemo"])); if ((initTable == true)) { if ((this.tableInspectionMemo != null)) { this.tableInspectionMemo.InitVars(); } } this.tableInspectionMemoAction = ((InspectionMemoActionDataTable)(base.Tables["InspectionMemoAction"])); if ((initTable == true)) { if ((this.tableInspectionMemoAction != null)) { this.tableInspectionMemoAction.InitVars(); } } this.tableInspectingOfficer = ((InspectingOfficerDataTable)(base.Tables["InspectingOfficer"])); if ((initTable == true)) { if ((this.tableInspectingOfficer != null)) { this.tableInspectingOfficer.InitVars(); } } this.relationFK_CheckListInspection_InspectionDetails = this.Relations["FK_CheckListInspection_InspectionDetails"]; this.relationFK_InspectionDetails_InspectionTypeMaster1 = this.Relations["FK_InspectionDetails_InspectionTypeMaster1"]; this.relationFK_CheckListInspection_InspectionCheckListMaster = this.Relations["FK_CheckListInspection_InspectionCheckListMaster"]; this.relationFK_InspectionCheckListMaster_InspectionTypeMaster = this.Relations["FK_InspectionCheckListMaster_InspectionTypeMaster"]; this.relationFK_InspectionQueries_InspectionDetails = this.Relations["FK_InspectionQueries_InspectionDetails"]; this.relationFK_InspectionDetails_Offices = this.Relations["FK_InspectionDetails_Offices"]; this.relationFK_InspectingOfficer_InspectionDetails = this.Relations["FK_InspectingOfficer_InspectionDetails"]; }