internal void InitVars(bool initTable) { this.tableBalanceRptPO = ((BalanceRptPODataTable)(base.Tables["BalanceRptPO"])); if ((initTable == true)) { if ((this.tableBalanceRptPO != null)) { this.tableBalanceRptPO.InitVars(); } } this.tableBalanceRtpPOItem = ((BalanceRtpPOItemDataTable)(base.Tables["BalanceRtpPOItem"])); if ((initTable == true)) { if ((this.tableBalanceRtpPOItem != null)) { this.tableBalanceRtpPOItem.InitVars(); } } this.tablePOItemTbl = ((POItemTblDataTable)(base.Tables["POItemTbl"])); if ((initTable == true)) { if ((this.tablePOItemTbl != null)) { this.tablePOItemTbl.InitVars(); } } this.tablePOHeaderTbl = ((POHeaderTblDataTable)(base.Tables["POHeaderTbl"])); if ((initTable == true)) { if ((this.tablePOHeaderTbl != null)) { this.tablePOHeaderTbl.InitVars(); } } this.tableContainerTbl = ((ContainerTblDataTable)(base.Tables["ContainerTbl"])); if ((initTable == true)) { if ((this.tableContainerTbl != null)) { this.tableContainerTbl.InitVars(); } } this.tableSurchargeRateTbl = ((SurchargeRateTblDataTable)(base.Tables["SurchargeRateTbl"])); if ((initTable == true)) { if ((this.tableSurchargeRateTbl != null)) { this.tableSurchargeRateTbl.InitVars(); } } this.tableContBundleTbl = ((ContBundleTblDataTable)(base.Tables["ContBundleTbl"])); if ((initTable == true)) { if ((this.tableContBundleTbl != null)) { this.tableContBundleTbl.InitVars(); } } this.tableKeyNumberTble = ((KeyNumberTbleDataTable)(base.Tables["KeyNumberTble"])); if ((initTable == true)) { if ((this.tableKeyNumberTble != null)) { this.tableKeyNumberTble.InitVars(); } } this.tablePaymentTermsTbl = ((PaymentTermsTblDataTable)(base.Tables["PaymentTermsTbl"])); if ((initTable == true)) { if ((this.tablePaymentTermsTbl != null)) { this.tablePaymentTermsTbl.InitVars(); } } this.tableShippingCodeTbl = ((ShippingCodeTblDataTable)(base.Tables["ShippingCodeTbl"])); if ((initTable == true)) { if ((this.tableShippingCodeTbl != null)) { this.tableShippingCodeTbl.InitVars(); } } this.tableItemTbl = ((ItemTblDataTable)(base.Tables["ItemTbl"])); if ((initTable == true)) { if ((this.tableItemTbl != null)) { this.tableItemTbl.InitVars(); } } this.tablePOFileTbl = ((POFileTblDataTable)(base.Tables["POFileTbl"])); if ((initTable == true)) { if ((this.tablePOFileTbl != null)) { this.tablePOFileTbl.InitVars(); } } this.tableFileTbl = ((FileTblDataTable)(base.Tables["FileTbl"])); if ((initTable == true)) { if ((this.tableFileTbl != null)) { this.tableFileTbl.InitVars(); } } this.tableCountryTbl = ((CountryTblDataTable)(base.Tables["CountryTbl"])); if ((initTable == true)) { if ((this.tableCountryTbl != null)) { this.tableCountryTbl.InitVars(); } } this.tableContactsTbl = ((ContactsTblDataTable)(base.Tables["ContactsTbl"])); if ((initTable == true)) { if ((this.tableContactsTbl != null)) { this.tableContactsTbl.InitVars(); } } this.tableContainerTemplateTbl = ((ContainerTemplateTblDataTable)(base.Tables["ContainerTemplateTbl"])); if ((initTable == true)) { if ((this.tableContainerTemplateTbl != null)) { this.tableContainerTemplateTbl.InitVars(); } } this.tableBOLItemTbl = ((BOLItemTblDataTable)(base.Tables["BOLItemTbl"])); if ((initTable == true)) { if ((this.tableBOLItemTbl != null)) { this.tableBOLItemTbl.InitVars(); } } this.tableFinishTbl = ((FinishTblDataTable)(base.Tables["FinishTbl"])); if ((initTable == true)) { if ((this.tableFinishTbl != null)) { this.tableFinishTbl.InitVars(); } } this.tableCurrencyTbl = ((CurrencyTblDataTable)(base.Tables["CurrencyTbl"])); if ((initTable == true)) { if ((this.tableCurrencyTbl != null)) { this.tableCurrencyTbl.InitVars(); } } this.tableTreatmentTbl = ((TreatmentTblDataTable)(base.Tables["TreatmentTbl"])); if ((initTable == true)) { if ((this.tableTreatmentTbl != null)) { this.tableTreatmentTbl.InitVars(); } } this.tableBOLTbl = ((BOLTblDataTable)(base.Tables["BOLTbl"])); if ((initTable == true)) { if ((this.tableBOLTbl != null)) { this.tableBOLTbl.InitVars(); } } this.tableLocationTbl = ((LocationTblDataTable)(base.Tables["LocationTbl"])); if ((initTable == true)) { if ((this.tableLocationTbl != null)) { this.tableLocationTbl.InitVars(); } } this.tableOrderLogTbl = ((OrderLogTblDataTable)(base.Tables["OrderLogTbl"])); if ((initTable == true)) { if ((this.tableOrderLogTbl != null)) { this.tableOrderLogTbl.InitVars(); } } this.tableCompanyTbl = ((CompanyTblDataTable)(base.Tables["CompanyTbl"])); if ((initTable == true)) { if ((this.tableCompanyTbl != null)) { this.tableCompanyTbl.InitVars(); } } this.relationFileTblPOFileTbl = this.Relations["FileTblPOFileTbl"]; this.relationBOLTblBOLItemTbl = this.Relations["BOLTblBOLItemTbl"]; this.relationCountryTblLocationTbl = this.Relations["CountryTblLocationTbl"]; this.relationCompanyTbl_LocationTbl = this.Relations["CompanyTbl_LocationTbl"]; this.relationBalanceRptPO_BalanceRtpPOItem = this.Relations["BalanceRptPO_BalanceRtpPOItem"]; this.relationItemTbl_POItemTbl = this.Relations["ItemTbl_POItemTbl"]; this.relationtblPOHeader2tblPOItem2 = this.Relations["tblPOHeader2tblPOItem2"]; this.relationtblContainertblContPOItem2 = this.Relations["tblContainertblContPOItem2"]; this.relationtblPOItem2tblContPOItem2 = this.Relations["tblPOItem2tblContPOItem2"]; }
private void InitClass() { this.DataSetName = "EMDataSet"; this.Prefix = ""; this.Namespace = "http://tempuri.org/EMDataSet.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableBalanceRptPO = new BalanceRptPODataTable(); base.Tables.Add(this.tableBalanceRptPO); this.tableBalanceRtpPOItem = new BalanceRtpPOItemDataTable(); base.Tables.Add(this.tableBalanceRtpPOItem); this.tablePOItemTbl = new POItemTblDataTable(); base.Tables.Add(this.tablePOItemTbl); this.tablePOHeaderTbl = new POHeaderTblDataTable(); base.Tables.Add(this.tablePOHeaderTbl); this.tableContainerTbl = new ContainerTblDataTable(); base.Tables.Add(this.tableContainerTbl); this.tableSurchargeRateTbl = new SurchargeRateTblDataTable(); base.Tables.Add(this.tableSurchargeRateTbl); this.tableContBundleTbl = new ContBundleTblDataTable(); base.Tables.Add(this.tableContBundleTbl); this.tableKeyNumberTble = new KeyNumberTbleDataTable(); base.Tables.Add(this.tableKeyNumberTble); this.tablePaymentTermsTbl = new PaymentTermsTblDataTable(); base.Tables.Add(this.tablePaymentTermsTbl); this.tableShippingCodeTbl = new ShippingCodeTblDataTable(); base.Tables.Add(this.tableShippingCodeTbl); this.tableItemTbl = new ItemTblDataTable(); base.Tables.Add(this.tableItemTbl); this.tablePOFileTbl = new POFileTblDataTable(); base.Tables.Add(this.tablePOFileTbl); this.tableFileTbl = new FileTblDataTable(); base.Tables.Add(this.tableFileTbl); this.tableCountryTbl = new CountryTblDataTable(); base.Tables.Add(this.tableCountryTbl); this.tableContactsTbl = new ContactsTblDataTable(); base.Tables.Add(this.tableContactsTbl); this.tableContainerTemplateTbl = new ContainerTemplateTblDataTable(); base.Tables.Add(this.tableContainerTemplateTbl); this.tableBOLItemTbl = new BOLItemTblDataTable(); base.Tables.Add(this.tableBOLItemTbl); this.tableFinishTbl = new FinishTblDataTable(); base.Tables.Add(this.tableFinishTbl); this.tableCurrencyTbl = new CurrencyTblDataTable(); base.Tables.Add(this.tableCurrencyTbl); this.tableTreatmentTbl = new TreatmentTblDataTable(); base.Tables.Add(this.tableTreatmentTbl); this.tableBOLTbl = new BOLTblDataTable(); base.Tables.Add(this.tableBOLTbl); this.tableLocationTbl = new LocationTblDataTable(); base.Tables.Add(this.tableLocationTbl); this.tableOrderLogTbl = new OrderLogTblDataTable(); base.Tables.Add(this.tableOrderLogTbl); this.tableCompanyTbl = new CompanyTblDataTable(); base.Tables.Add(this.tableCompanyTbl); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("FileTblPOFileTbl", new global::System.Data.DataColumn[] { this.tableFileTbl.FileIDColumn}, new global::System.Data.DataColumn[] { this.tablePOFileTbl.FileIDColumn}); this.tablePOFileTbl.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("BOLTblBOLItemTbl", new global::System.Data.DataColumn[] { this.tableBOLTbl.BOLIDColumn}, new global::System.Data.DataColumn[] { this.tableBOLItemTbl.BOLIDColumn}); this.tableBOLItemTbl.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("CountryTblLocationTbl", new global::System.Data.DataColumn[] { this.tableCountryTbl.CountryIDColumn}, new global::System.Data.DataColumn[] { this.tableLocationTbl.CountryIDColumn}); this.tableLocationTbl.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.relationFileTblPOFileTbl = new global::System.Data.DataRelation("FileTblPOFileTbl", new global::System.Data.DataColumn[] { this.tableFileTbl.FileIDColumn}, new global::System.Data.DataColumn[] { this.tablePOFileTbl.FileIDColumn}, false); this.Relations.Add(this.relationFileTblPOFileTbl); this.relationBOLTblBOLItemTbl = new global::System.Data.DataRelation("BOLTblBOLItemTbl", new global::System.Data.DataColumn[] { this.tableBOLTbl.BOLIDColumn}, new global::System.Data.DataColumn[] { this.tableBOLItemTbl.BOLIDColumn}, false); this.Relations.Add(this.relationBOLTblBOLItemTbl); this.relationCountryTblLocationTbl = new global::System.Data.DataRelation("CountryTblLocationTbl", new global::System.Data.DataColumn[] { this.tableCountryTbl.CountryIDColumn}, new global::System.Data.DataColumn[] { this.tableLocationTbl.CountryIDColumn}, false); this.Relations.Add(this.relationCountryTblLocationTbl); this.relationCompanyTbl_LocationTbl = new global::System.Data.DataRelation("CompanyTbl_LocationTbl", new global::System.Data.DataColumn[] { this.tableCompanyTbl.CompIDColumn}, new global::System.Data.DataColumn[] { this.tableLocationTbl.CompIDColumn}, false); this.Relations.Add(this.relationCompanyTbl_LocationTbl); this.relationBalanceRptPO_BalanceRtpPOItem = new global::System.Data.DataRelation("BalanceRptPO_BalanceRtpPOItem", new global::System.Data.DataColumn[] { this.tableBalanceRptPO.POIDColumn}, new global::System.Data.DataColumn[] { this.tableBalanceRtpPOItem.POIDColumn}, false); this.Relations.Add(this.relationBalanceRptPO_BalanceRtpPOItem); this.relationItemTbl_POItemTbl = new global::System.Data.DataRelation("ItemTbl_POItemTbl", new global::System.Data.DataColumn[] { this.tableItemTbl.ItemIDColumn}, new global::System.Data.DataColumn[] { this.tablePOItemTbl.ItemIDColumn}, false); this.Relations.Add(this.relationItemTbl_POItemTbl); this.relationtblPOHeader2tblPOItem2 = new global::System.Data.DataRelation("tblPOHeader2tblPOItem2", new global::System.Data.DataColumn[] { this.tablePOHeaderTbl.POIDColumn}, new global::System.Data.DataColumn[] { this.tablePOItemTbl.POIDColumn}, false); this.Relations.Add(this.relationtblPOHeader2tblPOItem2); this.relationtblContainertblContPOItem2 = new global::System.Data.DataRelation("tblContainertblContPOItem2", new global::System.Data.DataColumn[] { this.tableContainerTbl.ContIDColumn}, new global::System.Data.DataColumn[] { this.tableContBundleTbl.ContIDColumn}, false); this.Relations.Add(this.relationtblContainertblContPOItem2); this.relationtblPOItem2tblContPOItem2 = new global::System.Data.DataRelation("tblPOItem2tblContPOItem2", new global::System.Data.DataColumn[] { this.tablePOItemTbl.POItemNumberColumn}, new global::System.Data.DataColumn[] { this.tableContBundleTbl.POItemNumberColumn}, false); this.Relations.Add(this.relationtblPOItem2tblContPOItem2); }
internal FileTblRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableFileTbl = ((FileTblDataTable)(this.Table)); }