Esempio n. 1
0
 private void InitClass()
 {
     this.DataSetName             = "TestLog";
     this.Prefix                  = "";
     this.Namespace               = "http://schemas.microsoft.com/windows/ProtocolsTest/2007/07/TestLog";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableLogEntries         = new LogEntriesDataTable();
     base.Tables.Add(this.tableLogEntries);
     this.tableLogEntry = new LogEntryDataTable();
     base.Tables.Add(this.tableLogEntry);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("LogEntries_LogEntry", new global::System.Data.DataColumn[] {
         this.tableLogEntries.LogEntries_IdColumn
     }, new global::System.Data.DataColumn[] {
         this.tableLogEntry.LogEntries_IdColumn
     });
     this.tableLogEntry.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.relationLogEntries_LogEntry = new global::System.Data.DataRelation("LogEntries_LogEntry", new global::System.Data.DataColumn[] {
         this.tableLogEntries.LogEntries_IdColumn
     }, new global::System.Data.DataColumn[] {
         this.tableLogEntry.LogEntries_IdColumn
     }, false);
     this.relationLogEntries_LogEntry.Nested = true;
     this.Relations.Add(this.relationLogEntries_LogEntry);
 }
Esempio n. 2
0
 private void InitClass()
 {
     this.DataSetName             = "DataGridTableStyles";
     this.Prefix                  = "";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableTableStyles        = new TableStylesDataTable();
     base.Tables.Add(this.tableTableStyles);
     this.tableColumnStyles = new ColumnStylesDataTable();
     base.Tables.Add(this.tableColumnStyles);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("Constraint2", new global::System.Data.DataColumn[] {
         this.tableTableStyles.TableIDColumn
     }, new global::System.Data.DataColumn[] {
         this.tableColumnStyles.TableIDColumn
     });
     this.tableColumnStyles.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.relationTableRelatedColumns = new global::System.Data.DataRelation("TableRelatedColumns", new global::System.Data.DataColumn[] {
         this.tableTableStyles.TableIDColumn
     }, new global::System.Data.DataColumn[] {
         this.tableColumnStyles.TableIDColumn
     }, false);
     this.Relations.Add(this.relationTableRelatedColumns);
 }
Esempio n. 3
0
 private void InitClass()
 {
     this.DataSetName             = "NewDataSet";
     this.Prefix                  = "";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableTable1             = new Table1DataTable();
     base.Tables.Add(this.tableTable1);
     this.tableTable2 = new Table2DataTable();
     base.Tables.Add(this.tableTable2);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("Relation1", new global::System.Data.DataColumn[] {
         this.tableTable1.TableNameColumn
     }, new global::System.Data.DataColumn[] {
         this.tableTable2.TableNameColumn
     });
     this.tableTable2.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.relationRelation1 = new global::System.Data.DataRelation("Relation1", new global::System.Data.DataColumn[] {
         this.tableTable1.TableNameColumn
     }, new global::System.Data.DataColumn[] {
         this.tableTable2.TableNameColumn
     }, false);
     this.Relations.Add(this.relationRelation1);
 }
Esempio n. 4
0
 internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst)
 {
     this._relation = relation;
     if (childFirst)
     {
         this._childFirst = -1;
     }
     else
     {
         this._childFirst = 1;
     }
 }
Esempio n. 5
0
 internal void InitVars(bool initTable)
 {
     this.tableACCLoc = ((ACCLocDataTable)(base.Tables["ACCLoc"]));
     if ((initTable == true))
     {
         if ((this.tableACCLoc != null))
         {
             this.tableACCLoc.InitVars();
         }
     }
     this.relationACCLoc_ACCLoc = this.Relations["ACCLoc_ACCLoc"];
 }
Esempio n. 6
0
 private void InitClass()
 {
     this.DataSetName             = "AMDSDB";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/AMDSDB.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableACCLoc             = new ACCLocDataTable();
     base.Tables.Add(this.tableACCLoc);
     this.relationACCLoc_ACCLoc = new global::System.Data.DataRelation("ACCLoc_ACCLoc", new global::System.Data.DataColumn[] {
         this.tableACCLoc.Serial_NumberColumn
     }, new global::System.Data.DataColumn[] {
         this.tableACCLoc.Date_of_TransactionColumn
     }, false);
     this.Relations.Add(this.relationACCLoc_ACCLoc);
 }
Esempio n. 7
0
 internal void InitVars(bool initTable)
 {
     this.tableTable1 = ((Table1DataTable)(base.Tables["Table1"]));
     if ((initTable == true))
     {
         if ((this.tableTable1 != null))
         {
             this.tableTable1.InitVars();
         }
     }
     this.tableTable2 = ((Table2DataTable)(base.Tables["Table2"]));
     if ((initTable == true))
     {
         if ((this.tableTable2 != null))
         {
             this.tableTable2.InitVars();
         }
     }
     this.relationRelation1 = this.Relations["Relation1"];
 }
Esempio n. 8
0
 internal void InitVars(bool initTable)
 {
     this.tableLogEntries = ((LogEntriesDataTable)(base.Tables["LogEntries"]));
     if ((initTable == true))
     {
         if ((this.tableLogEntries != null))
         {
             this.tableLogEntries.InitVars();
         }
     }
     this.tableLogEntry = ((LogEntryDataTable)(base.Tables["LogEntry"]));
     if ((initTable == true))
     {
         if ((this.tableLogEntry != null))
         {
             this.tableLogEntry.InitVars();
         }
     }
     this.relationLogEntries_LogEntry = this.Relations["LogEntries_LogEntry"];
 }
Esempio n. 9
0
 internal void InitVars(bool initTable)
 {
     this.tableTableStyles = ((TableStylesDataTable)(base.Tables["TableStyles"]));
     if ((initTable == true))
     {
         if ((this.tableTableStyles != null))
         {
             this.tableTableStyles.InitVars();
         }
     }
     this.tableColumnStyles = ((ColumnStylesDataTable)(base.Tables["ColumnStyles"]));
     if ((initTable == true))
     {
         if ((this.tableColumnStyles != null))
         {
             this.tableColumnStyles.InitVars();
         }
     }
     this.relationTableRelatedColumns = this.Relations["TableRelatedColumns"];
 }
 internal void InitVars(bool initTable) {
     this.tableGreetings = ((GreetingsDataTable)(base.Tables["Greetings"]));
     if ((initTable == true)) {
         if ((this.tableGreetings != null)) {
             this.tableGreetings.InitVars();
         }
     }
     this.tableLocalizedGreetings = ((LocalizedGreetingsDataTable)(base.Tables["LocalizedGreetings"]));
     if ((initTable == true)) {
         if ((this.tableLocalizedGreetings != null)) {
             this.tableLocalizedGreetings.InitVars();
         }
     }
     this.tableCallHistory = ((CallHistoryDataTable)(base.Tables["CallHistory"]));
     if ((initTable == true)) {
         if ((this.tableCallHistory != null)) {
             this.tableCallHistory.InitVars();
         }
     }
     this.tableDepartments = ((DepartmentsDataTable)(base.Tables["Departments"]));
     if ((initTable == true)) {
         if ((this.tableDepartments != null)) {
             this.tableDepartments.InitVars();
         }
     }
     this.tableExtensions = ((ExtensionsDataTable)(base.Tables["Extensions"]));
     if ((initTable == true)) {
         if ((this.tableExtensions != null)) {
             this.tableExtensions.InitVars();
         }
     }
     this.tableExtensionContactNumbers = ((ExtensionContactNumbersDataTable)(base.Tables["ExtensionContactNumbers"]));
     if ((initTable == true)) {
         if ((this.tableExtensionContactNumbers != null)) {
             this.tableExtensionContactNumbers.InitVars();
         }
     }
     this.tableVoicemails = ((VoicemailsDataTable)(base.Tables["Voicemails"]));
     if ((initTable == true)) {
         if ((this.tableVoicemails != null)) {
             this.tableVoicemails.InitVars();
         }
     }
     this.tablePersonalizedGreetings = ((PersonalizedGreetingsDataTable)(base.Tables["PersonalizedGreetings"]));
     if ((initTable == true)) {
         if ((this.tablePersonalizedGreetings != null)) {
             this.tablePersonalizedGreetings.InitVars();
         }
     }
     this.tableProviders = ((ProvidersDataTable)(base.Tables["Providers"]));
     if ((initTable == true)) {
         if ((this.tableProviders != null)) {
             this.tableProviders.InitVars();
         }
     }
     this.tableScriptSchedules = ((ScriptSchedulesDataTable)(base.Tables["ScriptSchedules"]));
     if ((initTable == true)) {
         if ((this.tableScriptSchedules != null)) {
             this.tableScriptSchedules.InitVars();
         }
     }
     this.relationFK_Greetings_LocalizedGreetings = this.Relations["FK_Greetings_LocalizedGreetings"];
     this.relationFK_Extensions_ExtensionContactNumbers = this.Relations["FK_Extensions_ExtensionContactNumbers"];
     this.relationFK_Extensions_Voicemails = this.Relations["FK_Extensions_Voicemails"];
 }
 internal void InitVars(bool initTable) {
     this.tableJLinersReadyToLine = ((JLinersReadyToLineDataTable)(base.Tables["JLinersReadyToLine"]));
     if ((initTable == true)) {
         if ((this.tableJLinersReadyToLine != null)) {
             this.tableJLinersReadyToLine.InitVars();
         }
     }
     this.tableLFS_JUNCTION_LINER = ((LFS_JUNCTION_LINERDataTable)(base.Tables["LFS_JUNCTION_LINER"]));
     if ((initTable == true)) {
         if ((this.tableLFS_JUNCTION_LINER != null)) {
             this.tableLFS_JUNCTION_LINER.InitVars();
         }
     }
     this.relationJLinersReadyToLineLFS_JUNCTION_LINER = this.Relations["JLinersReadyToLineLFS_JUNCTION_LINER"];
 }
Esempio n. 12
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"];
 }
 internal void InitVars(bool initTable) {
     this.table考勤明细查询 = ((考勤明细查询DataTable)(base.Tables["考勤明细查询"]));
     if ((initTable == true)) {
         if ((this.table考勤明细查询 != null)) {
             this.table考勤明细查询.InitVars();
         }
     }
     this.tableEMPLOY = ((EMPLOYDataTable)(base.Tables["EMPLOY"]));
     if ((initTable == true)) {
         if ((this.tableEMPLOY != null)) {
             this.tableEMPLOY.InitVars();
         }
     }
     this.relationEMPLOY_部门排班登记 = this.Relations["EMPLOY_部门排班登记"];
 }
 internal void InitVars(bool initTable) {
     this.tableCurrencies = ((CurrenciesDataTable)(base.Tables["Currencies"]));
     if ((initTable == true)) {
         if ((this.tableCurrencies != null)) {
             this.tableCurrencies.InitVars();
         }
     }
     this.tableItems = ((ItemsDataTable)(base.Tables["Items"]));
     if ((initTable == true)) {
         if ((this.tableItems != null)) {
             this.tableItems.InitVars();
         }
     }
     this.tableUnitMeasures = ((UnitMeasuresDataTable)(base.Tables["UnitMeasures"]));
     if ((initTable == true)) {
         if ((this.tableUnitMeasures != null)) {
             this.tableUnitMeasures.InitVars();
         }
     }
     this.tableWarehouses = ((WarehousesDataTable)(base.Tables["Warehouses"]));
     if ((initTable == true)) {
         if ((this.tableWarehouses != null)) {
             this.tableWarehouses.InitVars();
         }
     }
     this.tableCompanies = ((CompaniesDataTable)(base.Tables["Companies"]));
     if ((initTable == true)) {
         if ((this.tableCompanies != null)) {
             this.tableCompanies.InitVars();
         }
     }
     this.tableItemInventories = ((ItemInventoriesDataTable)(base.Tables["ItemInventories"]));
     if ((initTable == true)) {
         if ((this.tableItemInventories != null)) {
             this.tableItemInventories.InitVars();
         }
     }
     this.tableOrderDetails = ((OrderDetailsDataTable)(base.Tables["OrderDetails"]));
     if ((initTable == true)) {
         if ((this.tableOrderDetails != null)) {
             this.tableOrderDetails.InitVars();
         }
     }
     this.tableOrders = ((OrdersDataTable)(base.Tables["Orders"]));
     if ((initTable == true)) {
         if ((this.tableOrders != null)) {
             this.tableOrders.InitVars();
         }
     }
     this.tableItemCategories = ((ItemCategoriesDataTable)(base.Tables["ItemCategories"]));
     if ((initTable == true)) {
         if ((this.tableItemCategories != null)) {
             this.tableItemCategories.InitVars();
         }
     }
     this.relationFK_Items_Categories = this.Relations["FK_Items_Categories"];
     this.relationFK_Items_UnitMeasures = this.Relations["FK_Items_UnitMeasures"];
     this.relationFK_ItemInventories_Items = this.Relations["FK_ItemInventories_Items"];
     this.relationFK_ItemInventories_Warehouse = this.Relations["FK_ItemInventories_Warehouse"];
     this.relationFK_OrderDetails_Items = this.Relations["FK_OrderDetails_Items"];
     this.relationFK_OrderDetails_Orders = this.Relations["FK_OrderDetails_Orders"];
     this.relationFK_Orders_Companies = this.Relations["FK_Orders_Companies"];
     this.relationFK_Orders_Parent = this.Relations["FK_Orders_Parent"];
     this.relationFK_Orders_Currencies = this.Relations["FK_Orders_Currencies"];
     this.relationFK_Items_Companies = this.Relations["FK_Items_Companies"];
     this.relationFK_OrderDetails_Reference = this.Relations["FK_OrderDetails_Reference"];
 }
 internal void InitVars(bool initTable) {
     this.tableContactCategories = ((ContactCategoriesDataTable)(base.Tables["ContactCategories"]));
     if ((initTable == true)) {
         if ((this.tableContactCategories != null)) {
             this.tableContactCategories.InitVars();
         }
     }
     this.tableContacts = ((ContactsDataTable)(base.Tables["Contacts"]));
     if ((initTable == true)) {
         if ((this.tableContacts != null)) {
             this.tableContacts.InitVars();
         }
     }
     this.tableContacts_ContactCategories = ((Contacts_ContactCategoriesDataTable)(base.Tables["Contacts_ContactCategories"]));
     if ((initTable == true)) {
         if ((this.tableContacts_ContactCategories != null)) {
             this.tableContacts_ContactCategories.InitVars();
         }
     }
     this.relationContactCategoriesContacts_ContactCategories = this.Relations["ContactCategoriesContacts_ContactCategories"];
     this.relationContactsContacts_ContactCategories = this.Relations["ContactsContacts_ContactCategories"];
 }
 internal void InitVars(bool initTable) {
     this.tableClubs = ((ClubsDataTable)(base.Tables["Clubs"]));
     if ((initTable == true)) {
         if ((this.tableClubs != null)) {
             this.tableClubs.InitVars();
         }
     }
     this.tableWeapons = ((WeaponsDataTable)(base.Tables["Weapons"]));
     if ((initTable == true)) {
         if ((this.tableWeapons != null)) {
             this.tableWeapons.InitVars();
         }
     }
     this.tableShooters = ((ShootersDataTable)(base.Tables["Shooters"]));
     if ((initTable == true)) {
         if ((this.tableShooters != null)) {
             this.tableShooters.InitVars();
         }
     }
     this.relationClubsShooters = this.Relations["ClubsShooters"];
 }
Esempio n. 17
0
 internal void InitVars(bool initTable) {
     this.tableFolders = ((FoldersDataTable)(base.Tables["Folders"]));
     if ((initTable == true)) {
         if ((this.tableFolders != null)) {
             this.tableFolders.InitVars();
         }
     }
     this.tableIncludeFilters = ((IncludeFiltersDataTable)(base.Tables["IncludeFilters"]));
     if ((initTable == true)) {
         if ((this.tableIncludeFilters != null)) {
             this.tableIncludeFilters.InitVars();
         }
     }
     this.tableExcludeFilters = ((ExcludeFiltersDataTable)(base.Tables["ExcludeFilters"]));
     if ((initTable == true)) {
         if ((this.tableExcludeFilters != null)) {
             this.tableExcludeFilters.InitVars();
         }
     }
     this.tableSettings = ((SettingsDataTable)(base.Tables["Settings"]));
     if ((initTable == true)) {
         if ((this.tableSettings != null)) {
             this.tableSettings.InitVars();
         }
     }
     this.tableGlobalIncludeFilters = ((GlobalIncludeFiltersDataTable)(base.Tables["GlobalIncludeFilters"]));
     if ((initTable == true)) {
         if ((this.tableGlobalIncludeFilters != null)) {
             this.tableGlobalIncludeFilters.InitVars();
         }
     }
     this.tableGlobalExcludeFilters = ((GlobalExcludeFiltersDataTable)(base.Tables["GlobalExcludeFilters"]));
     if ((initTable == true)) {
         if ((this.tableGlobalExcludeFilters != null)) {
             this.tableGlobalExcludeFilters.InitVars();
         }
     }
     this.relationFK_Folders_IncludeFilters = this.Relations["FK_Folders_IncludeFilters"];
     this.relationFK_Folders_ExcludeFilters = this.Relations["FK_Folders_ExcludeFilters"];
 }
 internal void InitVars(bool initTable) {
     this.tableHostingSpace = ((HostingSpaceDataTable)(base.Tables["HostingSpace"]));
     if ((initTable == true)) {
         if ((this.tableHostingSpace != null)) {
             this.tableHostingSpace.InitVars();
         }
     }
     this.tableBandwidthOverusage = ((BandwidthOverusageDataTable)(base.Tables["BandwidthOverusage"]));
     if ((initTable == true)) {
         if ((this.tableBandwidthOverusage != null)) {
             this.tableBandwidthOverusage.InitVars();
         }
     }
     this.tableDiskspaceOverusage = ((DiskspaceOverusageDataTable)(base.Tables["DiskspaceOverusage"]));
     if ((initTable == true)) {
         if ((this.tableDiskspaceOverusage != null)) {
             this.tableDiskspaceOverusage.InitVars();
         }
     }
     this.tableOverusageDetails = ((OverusageDetailsDataTable)(base.Tables["OverusageDetails"]));
     if ((initTable == true)) {
         if ((this.tableOverusageDetails != null)) {
             this.tableOverusageDetails.InitVars();
         }
     }
     this.relationHostingSpace_BandwidthOverusage = this.Relations["HostingSpace_BandwidthOverusage"];
     this.relationHostingSpace_DiskspaceOverusage = this.Relations["HostingSpace_DiskspaceOverusage"];
     this.relationBandwidthOverusage_OverusageDetails = this.Relations["BandwidthOverusage_OverusageDetails"];
     this.relationDiskspaceOverusage_OverusageDetails = this.Relations["DiskspaceOverusage_OverusageDetails"];
 }
Esempio n. 19
0
 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 = "OverusageReport";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DataSet1.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableHostingSpace = new HostingSpaceDataTable();
     base.Tables.Add(this.tableHostingSpace);
     this.tableBandwidthOverusage = new BandwidthOverusageDataTable();
     base.Tables.Add(this.tableBandwidthOverusage);
     this.tableDiskspaceOverusage = new DiskspaceOverusageDataTable();
     base.Tables.Add(this.tableDiskspaceOverusage);
     this.tableOverusageDetails = new OverusageDetailsDataTable();
     base.Tables.Add(this.tableOverusageDetails);
     this.relationHostingSpace_BandwidthOverusage = new global::System.Data.DataRelation("HostingSpace_BandwidthOverusage", new global::System.Data.DataColumn[] {
                 this.tableHostingSpace.HostingSpaceIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableBandwidthOverusage.HostingSpaceIdColumn}, false);
     this.Relations.Add(this.relationHostingSpace_BandwidthOverusage);
     this.relationHostingSpace_DiskspaceOverusage = new global::System.Data.DataRelation("HostingSpace_DiskspaceOverusage", new global::System.Data.DataColumn[] {
                 this.tableHostingSpace.HostingSpaceIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableDiskspaceOverusage.HostingSpaceIdColumn}, false);
     this.Relations.Add(this.relationHostingSpace_DiskspaceOverusage);
     this.relationBandwidthOverusage_OverusageDetails = new global::System.Data.DataRelation("BandwidthOverusage_OverusageDetails", new global::System.Data.DataColumn[] {
                 this.tableBandwidthOverusage.HostingSpaceIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableOverusageDetails.HostingSpaceIdColumn}, false);
     this.Relations.Add(this.relationBandwidthOverusage_OverusageDetails);
     this.relationDiskspaceOverusage_OverusageDetails = new global::System.Data.DataRelation("DiskspaceOverusage_OverusageDetails", new global::System.Data.DataColumn[] {
                 this.tableDiskspaceOverusage.HostingSpaceIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableOverusageDetails.HostingSpaceIdColumn}, false);
     this.Relations.Add(this.relationDiskspaceOverusage_OverusageDetails);
 }
 private void InitClass() {
     this.DataSetName = "DataSet2";
     this.Prefix = "";
     this.Namespace = "http://www.tempuri.org/DataSet2.xsd";
     this.Locale = new global::System.Globalization.CultureInfo("zh-CN");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCustomers = new CustomersDataTable();
     base.Tables.Add(this.tableCustomers);
     this.tableOrders = new OrdersDataTable();
     base.Tables.Add(this.tableOrders);
     this.tableOrder_Details = new Order_DetailsDataTable();
     base.Tables.Add(this.tableOrder_Details);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("CustomersOrders", new global::System.Data.DataColumn[] {
                 this.tableCustomers.CustomerIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrders.CustomerIDColumn});
     this.tableOrders.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("OrdersOrder_x0020_Details", new global::System.Data.DataColumn[] {
                 this.tableOrders.OrderIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrder_Details.OrderIDColumn});
     this.tableOrder_Details.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.relationCustomersOrders = new global::System.Data.DataRelation("CustomersOrders", new global::System.Data.DataColumn[] {
                 this.tableCustomers.CustomerIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrders.CustomerIDColumn}, false);
     this.Relations.Add(this.relationCustomersOrders);
     this.relationOrdersOrder_x0020_Details = new global::System.Data.DataRelation("OrdersOrder_x0020_Details", new global::System.Data.DataColumn[] {
                 this.tableOrders.OrderIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrder_Details.OrderIDColumn}, false);
     this.Relations.Add(this.relationOrdersOrder_x0020_Details);
 }
 internal void InitVars(bool initTable) {
     this.tablePrintManHoursPerPhaseFLL = ((PrintManHoursPerPhaseFLLDataTable)(base.Tables["PrintManHoursPerPhaseFLL"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseFLL != null)) {
             this.tablePrintManHoursPerPhaseFLL.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseMH = ((PrintManHoursPerPhaseMHDataTable)(base.Tables["PrintManHoursPerPhaseMH"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseMH != null)) {
             this.tablePrintManHoursPerPhaseMH.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseRA = ((PrintManHoursPerPhaseRADataTable)(base.Tables["PrintManHoursPerPhaseRA"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseRA != null)) {
             this.tablePrintManHoursPerPhaseRA.InitVars();
         }
     }
     this.tablePrintManhoursPerPhase = ((PrintManhoursPerPhaseDataTable)(base.Tables["PrintManhoursPerPhase"]));
     if ((initTable == true)) {
         if ((this.tablePrintManhoursPerPhase != null)) {
             this.tablePrintManhoursPerPhase.InitVars();
         }
     }
     this.tablePrintManHoursPerPhasePL = ((PrintManHoursPerPhasePLDataTable)(base.Tables["PrintManHoursPerPhasePL"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhasePL != null)) {
             this.tablePrintManHoursPerPhasePL.InitVars();
         }
     }
     this.tableprintmanhoursperphasejlinstall = ((printmanhoursperphasejlinstallDataTable)(base.Tables["printmanhoursperphasejlinstall"]));
     if ((initTable == true)) {
         if ((this.tableprintmanhoursperphasejlinstall != null)) {
             this.tableprintmanhoursperphasejlinstall.InitVars();
         }
     }
     this.tablePrintManhoursPerPhaseJLPrepFromMain = ((PrintManhoursPerPhaseJLPrepFromMainDataTable)(base.Tables["PrintManhoursPerPhaseJLPrepFromMain"]));
     if ((initTable == true)) {
         if ((this.tablePrintManhoursPerPhaseJLPrepFromMain != null)) {
             this.tablePrintManhoursPerPhaseJLPrepFromMain.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseRAPreFlush = ((PrintManHoursPerPhaseRAPreFlushDataTable)(base.Tables["PrintManHoursPerPhaseRAPreFlush"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseRAPreFlush != null)) {
             this.tablePrintManHoursPerPhaseRAPreFlush.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseRAPreVideo = ((PrintManHoursPerPhaseRAPreVideoDataTable)(base.Tables["PrintManHoursPerPhaseRAPreVideo"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseRAPreVideo != null)) {
             this.tablePrintManHoursPerPhaseRAPreVideo.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseFLLInstall = ((PrintManHoursPerPhaseFLLInstallDataTable)(base.Tables["PrintManHoursPerPhaseFLLInstall"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseFLLInstall != null)) {
             this.tablePrintManHoursPerPhaseFLLInstall.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseFLLPrepMeasure = ((PrintManHoursPerPhaseFLLPrepMeasureDataTable)(base.Tables["PrintManHoursPerPhaseFLLPrepMeasure"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseFLLPrepMeasure != null)) {
             this.tablePrintManHoursPerPhaseFLLPrepMeasure.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseFLLReinstatePostVideo = ((PrintManHoursPerPhaseFLLReinstatePostVideoDataTable)(base.Tables["PrintManHoursPerPhaseFLLReinstatePostVideo"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseFLLReinstatePostVideo != null)) {
             this.tablePrintManHoursPerPhaseFLLReinstatePostVideo.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseMHPrep = ((PrintManHoursPerPhaseMHPrepDataTable)(base.Tables["PrintManHoursPerPhaseMHPrep"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseMHPrep != null)) {
             this.tablePrintManHoursPerPhaseMHPrep.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseMHSpray = ((PrintManHoursPerPhaseMHSprayDataTable)(base.Tables["PrintManHoursPerPhaseMHSpray"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseMHSpray != null)) {
             this.tablePrintManHoursPerPhaseMHSpray.InitVars();
         }
     }
     this.tablePrintManHoursPerPhasePLInstall = ((PrintManHoursPerPhasePLInstallDataTable)(base.Tables["PrintManHoursPerPhasePLInstall"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhasePLInstall != null)) {
             this.tablePrintManHoursPerPhasePLInstall.InitVars();
         }
     }
     this.tablePrintManHoursPerPhasePLPrep = ((PrintManHoursPerPhasePLPrepDataTable)(base.Tables["PrintManHoursPerPhasePLPrep"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhasePLPrep != null)) {
             this.tablePrintManHoursPerPhasePLPrep.InitVars();
         }
     }
     this.tablePrintManHoursPerPhasePLReinstate = ((PrintManHoursPerPhasePLReinstateDataTable)(base.Tables["PrintManHoursPerPhasePLReinstate"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhasePLReinstate != null)) {
             this.tablePrintManHoursPerPhasePLReinstate.InitVars();
         }
     }
     this.tablePrintManHoursPerPhaseGeneral = ((PrintManHoursPerPhaseGeneralDataTable)(base.Tables["PrintManHoursPerPhaseGeneral"]));
     if ((initTable == true)) {
         if ((this.tablePrintManHoursPerPhaseGeneral != null)) {
             this.tablePrintManHoursPerPhaseGeneral.InitVars();
         }
     }
     this.relationPrintManHoursPerPhaseGeneral_printmanhoursperphasejlinstall = this.Relations["PrintManHoursPerPhaseGeneral_printmanhoursperphasejlinstall"];
 }
 private void InitClass() {
     this.DataSetName = "dsCore";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/dsCore.xsd";
     this.Locale = new global::System.Globalization.CultureInfo("id-ID");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCurrencies = new CurrenciesDataTable();
     base.Tables.Add(this.tableCurrencies);
     this.tableItems = new ItemsDataTable();
     base.Tables.Add(this.tableItems);
     this.tableUnitMeasures = new UnitMeasuresDataTable();
     base.Tables.Add(this.tableUnitMeasures);
     this.tableWarehouses = new WarehousesDataTable();
     base.Tables.Add(this.tableWarehouses);
     this.tableCompanies = new CompaniesDataTable();
     base.Tables.Add(this.tableCompanies);
     this.tableItemInventories = new ItemInventoriesDataTable();
     base.Tables.Add(this.tableItemInventories);
     this.tableOrderDetails = new OrderDetailsDataTable();
     base.Tables.Add(this.tableOrderDetails);
     this.tableOrders = new OrdersDataTable();
     base.Tables.Add(this.tableOrders);
     this.tableItemCategories = new ItemCategoriesDataTable();
     base.Tables.Add(this.tableItemCategories);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Items_Categories", new global::System.Data.DataColumn[] {
                 this.tableItemCategories.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItems.CategoryIDColumn});
     this.tableItems.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Items_UnitMeasures", new global::System.Data.DataColumn[] {
                 this.tableUnitMeasures.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItems.MeasureIDColumn});
     this.tableItems.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_ItemInventories_Items", new global::System.Data.DataColumn[] {
                 this.tableItems.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItemInventories.ItemIDColumn});
     this.tableItemInventories.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_ItemInventories_Warehouse", new global::System.Data.DataColumn[] {
                 this.tableWarehouses.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItemInventories.WarehouseIDColumn});
     this.tableItemInventories.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_OrderDetails_Items", new global::System.Data.DataColumn[] {
                 this.tableItems.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrderDetails.ItemIDColumn});
     this.tableOrderDetails.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_OrderDetails_Orders", new global::System.Data.DataColumn[] {
                 this.tableOrders.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrderDetails.OrderIDColumn});
     this.tableOrderDetails.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("FK_Orders_Companies", new global::System.Data.DataColumn[] {
                 this.tableCompanies.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrders.CompanyIDColumn});
     this.tableOrders.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Orders_Parent", new global::System.Data.DataColumn[] {
                 this.tableOrders.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrders.ParentIDColumn});
     this.tableOrders.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Orders_Currencies", new global::System.Data.DataColumn[] {
                 this.tableCurrencies.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrders.CurrencyIDColumn});
     this.tableOrders.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     this.relationFK_Items_Categories = new global::System.Data.DataRelation("FK_Items_Categories", new global::System.Data.DataColumn[] {
                 this.tableItemCategories.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItems.CategoryIDColumn}, false);
     this.Relations.Add(this.relationFK_Items_Categories);
     this.relationFK_Items_UnitMeasures = new global::System.Data.DataRelation("FK_Items_UnitMeasures", new global::System.Data.DataColumn[] {
                 this.tableUnitMeasures.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItems.MeasureIDColumn}, false);
     this.Relations.Add(this.relationFK_Items_UnitMeasures);
     this.relationFK_ItemInventories_Items = new global::System.Data.DataRelation("FK_ItemInventories_Items", new global::System.Data.DataColumn[] {
                 this.tableItems.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItemInventories.ItemIDColumn}, false);
     this.Relations.Add(this.relationFK_ItemInventories_Items);
     this.relationFK_ItemInventories_Warehouse = new global::System.Data.DataRelation("FK_ItemInventories_Warehouse", new global::System.Data.DataColumn[] {
                 this.tableWarehouses.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItemInventories.WarehouseIDColumn}, false);
     this.Relations.Add(this.relationFK_ItemInventories_Warehouse);
     this.relationFK_OrderDetails_Items = new global::System.Data.DataRelation("FK_OrderDetails_Items", new global::System.Data.DataColumn[] {
                 this.tableItems.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrderDetails.ItemIDColumn}, false);
     this.Relations.Add(this.relationFK_OrderDetails_Items);
     this.relationFK_OrderDetails_Orders = new global::System.Data.DataRelation("FK_OrderDetails_Orders", new global::System.Data.DataColumn[] {
                 this.tableOrders.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrderDetails.OrderIDColumn}, false);
     this.Relations.Add(this.relationFK_OrderDetails_Orders);
     this.relationFK_Orders_Companies = new global::System.Data.DataRelation("FK_Orders_Companies", new global::System.Data.DataColumn[] {
                 this.tableCompanies.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrders.CompanyIDColumn}, false);
     this.Relations.Add(this.relationFK_Orders_Companies);
     this.relationFK_Orders_Parent = new global::System.Data.DataRelation("FK_Orders_Parent", new global::System.Data.DataColumn[] {
                 this.tableOrders.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrders.ParentIDColumn}, false);
     this.Relations.Add(this.relationFK_Orders_Parent);
     this.relationFK_Orders_Currencies = new global::System.Data.DataRelation("FK_Orders_Currencies", new global::System.Data.DataColumn[] {
                 this.tableCurrencies.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrders.CurrencyIDColumn}, false);
     this.Relations.Add(this.relationFK_Orders_Currencies);
     this.relationFK_Items_Companies = new global::System.Data.DataRelation("FK_Items_Companies", new global::System.Data.DataColumn[] {
                 this.tableCompanies.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableItems.CompanyIDColumn}, false);
     this.Relations.Add(this.relationFK_Items_Companies);
     this.relationFK_OrderDetails_Reference = new global::System.Data.DataRelation("FK_OrderDetails_Reference", new global::System.Data.DataColumn[] {
                 this.tableOrders.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableOrderDetails.ReferenceIDColumn}, false);
     this.Relations.Add(this.relationFK_OrderDetails_Reference);
 }
 private void InitClass() {
     this.DataSetName = "PrintManhoursPerPhaseTDS";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/PrintManhoursPerPhaseTDS.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tablePrintManHoursPerPhaseFLL = new PrintManHoursPerPhaseFLLDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseFLL);
     this.tablePrintManHoursPerPhaseMH = new PrintManHoursPerPhaseMHDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseMH);
     this.tablePrintManHoursPerPhaseRA = new PrintManHoursPerPhaseRADataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseRA);
     this.tablePrintManhoursPerPhase = new PrintManhoursPerPhaseDataTable();
     base.Tables.Add(this.tablePrintManhoursPerPhase);
     this.tablePrintManHoursPerPhasePL = new PrintManHoursPerPhasePLDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhasePL);
     this.tableprintmanhoursperphasejlinstall = new printmanhoursperphasejlinstallDataTable();
     base.Tables.Add(this.tableprintmanhoursperphasejlinstall);
     this.tablePrintManhoursPerPhaseJLPrepFromMain = new PrintManhoursPerPhaseJLPrepFromMainDataTable();
     base.Tables.Add(this.tablePrintManhoursPerPhaseJLPrepFromMain);
     this.tablePrintManHoursPerPhaseRAPreFlush = new PrintManHoursPerPhaseRAPreFlushDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseRAPreFlush);
     this.tablePrintManHoursPerPhaseRAPreVideo = new PrintManHoursPerPhaseRAPreVideoDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseRAPreVideo);
     this.tablePrintManHoursPerPhaseFLLInstall = new PrintManHoursPerPhaseFLLInstallDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseFLLInstall);
     this.tablePrintManHoursPerPhaseFLLPrepMeasure = new PrintManHoursPerPhaseFLLPrepMeasureDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseFLLPrepMeasure);
     this.tablePrintManHoursPerPhaseFLLReinstatePostVideo = new PrintManHoursPerPhaseFLLReinstatePostVideoDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseFLLReinstatePostVideo);
     this.tablePrintManHoursPerPhaseMHPrep = new PrintManHoursPerPhaseMHPrepDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseMHPrep);
     this.tablePrintManHoursPerPhaseMHSpray = new PrintManHoursPerPhaseMHSprayDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseMHSpray);
     this.tablePrintManHoursPerPhasePLInstall = new PrintManHoursPerPhasePLInstallDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhasePLInstall);
     this.tablePrintManHoursPerPhasePLPrep = new PrintManHoursPerPhasePLPrepDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhasePLPrep);
     this.tablePrintManHoursPerPhasePLReinstate = new PrintManHoursPerPhasePLReinstateDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhasePLReinstate);
     this.tablePrintManHoursPerPhaseGeneral = new PrintManHoursPerPhaseGeneralDataTable();
     base.Tables.Add(this.tablePrintManHoursPerPhaseGeneral);
     this.relationPrintManHoursPerPhaseGeneral_printmanhoursperphasejlinstall = new global::System.Data.DataRelation("PrintManHoursPerPhaseGeneral_printmanhoursperphasejlinstall", new global::System.Data.DataColumn[] {
                 this.tablePrintManHoursPerPhaseGeneral.ClientNameColumn,
                 this.tablePrintManHoursPerPhaseGeneral.ProjectNameColumn}, new global::System.Data.DataColumn[] {
                 this.tableprintmanhoursperphasejlinstall.ClientNameColumn,
                 this.tableprintmanhoursperphasejlinstall.ProjectNameColumn}, false);
     this.Relations.Add(this.relationPrintManHoursPerPhaseGeneral_printmanhoursperphasejlinstall);
 }
 private void InitClass() {
     this.DataSetName = "DataSetCheckOnWorkList";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DataSetCheckOnWorkList.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.table考勤明细查询 = new 考勤明细查询DataTable();
     base.Tables.Add(this.table考勤明细查询);
     this.tableEMPLOY = new EMPLOYDataTable();
     base.Tables.Add(this.tableEMPLOY);
     this.relationEMPLOY_部门排班登记 = new global::System.Data.DataRelation("EMPLOY_部门排班登记", new global::System.Data.DataColumn[] {
                 this.tableEMPLOY.EMPCODEColumn}, new global::System.Data.DataColumn[] {
                 this.table考勤明细查询.员工编号Column}, false);
     this.Relations.Add(this.relationEMPLOY_部门排班登记);
 }
Esempio n. 26
0
 internal void InitVars(bool initTable) {
     this.tableMaterials = ((MaterialsDataTable)(base.Tables["Materials"]));
     if ((initTable == true)) {
         if ((this.tableMaterials != null)) {
             this.tableMaterials.InitVars();
         }
     }
     this.tableDetailsListsDetails = ((DetailsListsDetailsDataTable)(base.Tables["DetailsListsDetails"]));
     if ((initTable == true)) {
         if ((this.tableDetailsListsDetails != null)) {
             this.tableDetailsListsDetails.InitVars();
         }
     }
     this.tableDetailsLists = ((DetailsListsDataTable)(base.Tables["DetailsLists"]));
     if ((initTable == true)) {
         if ((this.tableDetailsLists != null)) {
             this.tableDetailsLists.InitVars();
         }
     }
     this.tableSheets = ((SheetsDataTable)(base.Tables["Sheets"]));
     if ((initTable == true)) {
         if ((this.tableSheets != null)) {
             this.tableSheets.InitVars();
         }
     }
     this.relationFK_DetailsListsDetails_DetailsLists = this.Relations["FK_DetailsListsDetails_DetailsLists"];
     this.relationFK_DetailsListsDetails_Materials = this.Relations["FK_DetailsListsDetails_Materials"];
     this.relationFK_Sheets_Materials = this.Relations["FK_Sheets_Materials"];
 }
Esempio n. 27
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);
 }
Esempio n. 28
0
 private void InitClass() {
     this.DataSetName = "DataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableMaterials = new MaterialsDataTable();
     base.Tables.Add(this.tableMaterials);
     this.tableDetailsListsDetails = new DetailsListsDetailsDataTable();
     base.Tables.Add(this.tableDetailsListsDetails);
     this.tableDetailsLists = new DetailsListsDataTable();
     base.Tables.Add(this.tableDetailsLists);
     this.tableSheets = new SheetsDataTable();
     base.Tables.Add(this.tableSheets);
     this.relationFK_DetailsListsDetails_DetailsLists = new global::System.Data.DataRelation("FK_DetailsListsDetails_DetailsLists", new global::System.Data.DataColumn[] {
                 this.tableDetailsLists.DetailsListIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableDetailsListsDetails.DetailsListIDColumn}, false);
     this.Relations.Add(this.relationFK_DetailsListsDetails_DetailsLists);
     this.relationFK_DetailsListsDetails_Materials = new global::System.Data.DataRelation("FK_DetailsListsDetails_Materials", new global::System.Data.DataColumn[] {
                 this.tableMaterials.MaterialIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableDetailsListsDetails.MaterialIDColumn}, false);
     this.Relations.Add(this.relationFK_DetailsListsDetails_Materials);
     this.relationFK_Sheets_Materials = new global::System.Data.DataRelation("FK_Sheets_Materials", new global::System.Data.DataColumn[] {
                 this.tableMaterials.MaterialIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableSheets.MaterialIDColumn}, false);
     this.Relations.Add(this.relationFK_Sheets_Materials);
 }
 private void InitClass() {
     this.DataSetName = "TDSJLinersReadyToLine";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/TDSJLinersReadyToLine.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableJLinersReadyToLine = new JLinersReadyToLineDataTable();
     base.Tables.Add(this.tableJLinersReadyToLine);
     this.tableLFS_JUNCTION_LINER = new LFS_JUNCTION_LINERDataTable();
     base.Tables.Add(this.tableLFS_JUNCTION_LINER);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("JLinersReadyToLineLFS_JUNCTION_LINER", new global::System.Data.DataColumn[] {
                 this.tableJLinersReadyToLine.IDColumn,
                 this.tableJLinersReadyToLine.COMPANY_IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_JUNCTION_LINER.IDColumn,
                 this.tableLFS_JUNCTION_LINER.COMPANY_IDColumn});
     this.tableLFS_JUNCTION_LINER.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.relationJLinersReadyToLineLFS_JUNCTION_LINER = new global::System.Data.DataRelation("JLinersReadyToLineLFS_JUNCTION_LINER", new global::System.Data.DataColumn[] {
                 this.tableJLinersReadyToLine.IDColumn,
                 this.tableJLinersReadyToLine.COMPANY_IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLFS_JUNCTION_LINER.IDColumn,
                 this.tableLFS_JUNCTION_LINER.COMPANY_IDColumn}, false);
     this.Relations.Add(this.relationJLinersReadyToLineLFS_JUNCTION_LINER);
 }
 internal void InitVars(bool initTable) {
     this.tableApplication = ((ApplicationDataTable)(base.Tables["Application"]));
     if ((initTable == true)) {
         if ((this.tableApplication != null)) {
             this.tableApplication.InitVars();
         }
     }
     this.tableStudent = ((StudentDataTable)(base.Tables["Student"]));
     if ((initTable == true)) {
         if ((this.tableStudent != null)) {
             this.tableStudent.InitVars();
         }
     }
     this.tableIndividual = ((IndividualDataTable)(base.Tables["Individual"]));
     if ((initTable == true)) {
         if ((this.tableIndividual != null)) {
             this.tableIndividual.InitVars();
         }
     }
     this.relationFK_Application_Student = this.Relations["FK_Application_Student"];
     this.relationFK_Student_Individual = this.Relations["FK_Student_Individual"];
 }
 private void InitClass() {
     this.DataSetName = "CallButlerDataset";
     this.Prefix = "";
     this.Namespace = "http://www.worksoutsoft.com/Schemas/CallButlerDataset.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.ExcludeSchema;
     this.tableGreetings = new GreetingsDataTable();
     base.Tables.Add(this.tableGreetings);
     this.tableLocalizedGreetings = new LocalizedGreetingsDataTable();
     base.Tables.Add(this.tableLocalizedGreetings);
     this.tableCallHistory = new CallHistoryDataTable();
     base.Tables.Add(this.tableCallHistory);
     this.tableDepartments = new DepartmentsDataTable();
     base.Tables.Add(this.tableDepartments);
     this.tableExtensions = new ExtensionsDataTable();
     base.Tables.Add(this.tableExtensions);
     this.tableExtensionContactNumbers = new ExtensionContactNumbersDataTable();
     base.Tables.Add(this.tableExtensionContactNumbers);
     this.tableVoicemails = new VoicemailsDataTable();
     base.Tables.Add(this.tableVoicemails);
     this.tablePersonalizedGreetings = new PersonalizedGreetingsDataTable();
     base.Tables.Add(this.tablePersonalizedGreetings);
     this.tableProviders = new ProvidersDataTable();
     base.Tables.Add(this.tableProviders);
     this.tableScriptSchedules = new ScriptSchedulesDataTable();
     base.Tables.Add(this.tableScriptSchedules);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Greetings_LocalizedGreetings", new global::System.Data.DataColumn[] {
                 this.tableGreetings.GreetingIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLocalizedGreetings.GreetingIDColumn});
     this.tableLocalizedGreetings.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("FK_Extensions_ExtensionContactNumbers", new global::System.Data.DataColumn[] {
                 this.tableExtensions.ExtensionIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableExtensionContactNumbers.ExtensionIDColumn});
     this.tableExtensionContactNumbers.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("FK_Extensions_Voicemails", new global::System.Data.DataColumn[] {
                 this.tableExtensions.ExtensionIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableVoicemails.ExtensionIDColumn});
     this.tableVoicemails.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.relationFK_Greetings_LocalizedGreetings = new global::System.Data.DataRelation("FK_Greetings_LocalizedGreetings", new global::System.Data.DataColumn[] {
                 this.tableGreetings.GreetingIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLocalizedGreetings.GreetingIDColumn}, false);
     this.relationFK_Greetings_LocalizedGreetings.Nested = true;
     this.Relations.Add(this.relationFK_Greetings_LocalizedGreetings);
     this.relationFK_Extensions_ExtensionContactNumbers = new global::System.Data.DataRelation("FK_Extensions_ExtensionContactNumbers", new global::System.Data.DataColumn[] {
                 this.tableExtensions.ExtensionIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableExtensionContactNumbers.ExtensionIDColumn}, false);
     this.relationFK_Extensions_ExtensionContactNumbers.Nested = true;
     this.Relations.Add(this.relationFK_Extensions_ExtensionContactNumbers);
     this.relationFK_Extensions_Voicemails = new global::System.Data.DataRelation("FK_Extensions_Voicemails", new global::System.Data.DataColumn[] {
                 this.tableExtensions.ExtensionIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableVoicemails.ExtensionIDColumn}, false);
     this.relationFK_Extensions_Voicemails.Nested = true;
     this.Relations.Add(this.relationFK_Extensions_Voicemails);
 }
 private void InitClass() {
     this.DataSetName = "Lender";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Lender.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableApplication = new ApplicationDataTable();
     base.Tables.Add(this.tableApplication);
     this.tableStudent = new StudentDataTable();
     base.Tables.Add(this.tableStudent);
     this.tableIndividual = new IndividualDataTable();
     base.Tables.Add(this.tableIndividual);
     this.relationFK_Application_Student = new global::System.Data.DataRelation("FK_Application_Student", new global::System.Data.DataColumn[] {
                 this.tableStudent.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableApplication.StudentIdColumn}, false);
     this.Relations.Add(this.relationFK_Application_Student);
     this.relationFK_Student_Individual = new global::System.Data.DataRelation("FK_Student_Individual", new global::System.Data.DataColumn[] {
                 this.tableIndividual.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableStudent.IdColumn}, false);
     this.Relations.Add(this.relationFK_Student_Individual);
 }
 private void InitClass() {
     this.DataSetName = "DSStartupResources";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DSStartupResources.xsd";
     this.Locale = new global::System.Globalization.CultureInfo("sv");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableClubs = new ClubsDataTable();
     base.Tables.Add(this.tableClubs);
     this.tableWeapons = new WeaponsDataTable();
     base.Tables.Add(this.tableWeapons);
     this.tableShooters = new ShootersDataTable();
     base.Tables.Add(this.tableShooters);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("ClubsShooters", new global::System.Data.DataColumn[] {
                 this.tableClubs.ClubIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableShooters.ClubIdColumn});
     this.tableShooters.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.relationClubsShooters = new global::System.Data.DataRelation("ClubsShooters", new global::System.Data.DataColumn[] {
                 this.tableClubs.ClubIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableShooters.ClubIdColumn}, false);
     this.Relations.Add(this.relationClubsShooters);
 }
Esempio n. 34
0
 internal void InitVars(bool initTable) {
     this.tableCountry = ((CountryDataTable)(base.Tables["Country"]));
     if ((initTable == true)) {
         if ((this.tableCountry != null)) {
             this.tableCountry.InitVars();
         }
     }
     this.tableRegion = ((RegionDataTable)(base.Tables["Region"]));
     if ((initTable == true)) {
         if ((this.tableRegion != null)) {
             this.tableRegion.InitVars();
         }
     }
     this.tableCity = ((CityDataTable)(base.Tables["City"]));
     if ((initTable == true)) {
         if ((this.tableCity != null)) {
             this.tableCity.InitVars();
         }
     }
     this.relationCountry_Region = this.Relations["Country_Region"];
     this.relationRegion_City = this.Relations["Region_City"];
 }
Esempio n. 35
0
 private void InitClass() {
     this.DataSetName = "Model";
     this.Prefix = "";
     this.Namespace = "http://xrefresh.com/model.xsd";
     this.Locale = new global::System.Globalization.CultureInfo("");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.ExcludeSchema;
     this.tableFolders = new FoldersDataTable();
     base.Tables.Add(this.tableFolders);
     this.tableIncludeFilters = new IncludeFiltersDataTable();
     base.Tables.Add(this.tableIncludeFilters);
     this.tableExcludeFilters = new ExcludeFiltersDataTable();
     base.Tables.Add(this.tableExcludeFilters);
     this.tableSettings = new SettingsDataTable();
     base.Tables.Add(this.tableSettings);
     this.tableGlobalIncludeFilters = new GlobalIncludeFiltersDataTable();
     base.Tables.Add(this.tableGlobalIncludeFilters);
     this.tableGlobalExcludeFilters = new GlobalExcludeFiltersDataTable();
     base.Tables.Add(this.tableGlobalExcludeFilters);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Folders_IncludeFilters", new global::System.Data.DataColumn[] {
                 this.tableFolders.NameColumn}, new global::System.Data.DataColumn[] {
                 this.tableIncludeFilters.FolderColumn});
     this.tableIncludeFilters.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("FK_Folders_ExcludeFilters", new global::System.Data.DataColumn[] {
                 this.tableFolders.NameColumn}, new global::System.Data.DataColumn[] {
                 this.tableExcludeFilters.FolderColumn});
     this.tableExcludeFilters.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.relationFK_Folders_IncludeFilters = new global::System.Data.DataRelation("FK_Folders_IncludeFilters", new global::System.Data.DataColumn[] {
                 this.tableFolders.NameColumn}, new global::System.Data.DataColumn[] {
                 this.tableIncludeFilters.FolderColumn}, false);
     this.relationFK_Folders_IncludeFilters.Nested = true;
     this.Relations.Add(this.relationFK_Folders_IncludeFilters);
     this.relationFK_Folders_ExcludeFilters = new global::System.Data.DataRelation("FK_Folders_ExcludeFilters", new global::System.Data.DataColumn[] {
                 this.tableFolders.NameColumn}, new global::System.Data.DataColumn[] {
                 this.tableExcludeFilters.FolderColumn}, false);
     this.relationFK_Folders_ExcludeFilters.Nested = true;
     this.Relations.Add(this.relationFK_Folders_ExcludeFilters);
 }
Esempio n. 36
0
 private void InitClass() {
     this.DataSetName = "Countries";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCountry = new CountryDataTable();
     base.Tables.Add(this.tableCountry);
     this.tableRegion = new RegionDataTable();
     base.Tables.Add(this.tableRegion);
     this.tableCity = new CityDataTable();
     base.Tables.Add(this.tableCity);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("Country_Region", new global::System.Data.DataColumn[] {
                 this.tableCountry.Country_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableRegion.Country_IdColumn});
     this.tableRegion.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("Region_City", new global::System.Data.DataColumn[] {
                 this.tableRegion.Region_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCity.Region_IdColumn});
     this.tableCity.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.relationCountry_Region = new global::System.Data.DataRelation("Country_Region", new global::System.Data.DataColumn[] {
                 this.tableCountry.Country_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableRegion.Country_IdColumn}, false);
     this.relationCountry_Region.Nested = true;
     this.Relations.Add(this.relationCountry_Region);
     this.relationRegion_City = new global::System.Data.DataRelation("Region_City", new global::System.Data.DataColumn[] {
                 this.tableRegion.Region_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCity.Region_IdColumn}, false);
     this.relationRegion_City.Nested = true;
     this.Relations.Add(this.relationRegion_City);
 }
 private void InitClass() {
     this.DataSetName = "GridEXTutorialsDataDataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/GridEXTutorialsDataDataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableContactCategories = new ContactCategoriesDataTable();
     base.Tables.Add(this.tableContactCategories);
     this.tableContacts = new ContactsDataTable();
     base.Tables.Add(this.tableContacts);
     this.tableContacts_ContactCategories = new Contacts_ContactCategoriesDataTable();
     base.Tables.Add(this.tableContacts_ContactCategories);
     this.relationContactCategoriesContacts_ContactCategories = new global::System.Data.DataRelation("ContactCategoriesContacts_ContactCategories", new global::System.Data.DataColumn[] {
                 this.tableContactCategories.ContactCategoryIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableContacts_ContactCategories.ContactCategoryIDColumn}, false);
     this.Relations.Add(this.relationContactCategoriesContacts_ContactCategories);
     this.relationContactsContacts_ContactCategories = new global::System.Data.DataRelation("ContactsContacts_ContactCategories", new global::System.Data.DataColumn[] {
                 this.tableContacts.ContactIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableContacts_ContactCategories.ContactIDColumn}, false);
     this.Relations.Add(this.relationContactsContacts_ContactCategories);
 }
 internal void InitVars(bool initTable) {
     this.tableCustomers = ((CustomersDataTable)(base.Tables["Customers"]));
     if ((initTable == true)) {
         if ((this.tableCustomers != null)) {
             this.tableCustomers.InitVars();
         }
     }
     this.tableOrders = ((OrdersDataTable)(base.Tables["Orders"]));
     if ((initTable == true)) {
         if ((this.tableOrders != null)) {
             this.tableOrders.InitVars();
         }
     }
     this.tableOrder_Details = ((Order_DetailsDataTable)(base.Tables["Order Details"]));
     if ((initTable == true)) {
         if ((this.tableOrder_Details != null)) {
             this.tableOrder_Details.InitVars();
         }
     }
     this.relationCustomersOrders = this.Relations["CustomersOrders"];
     this.relationOrdersOrder_x0020_Details = this.Relations["OrdersOrder_x0020_Details"];
 }
Esempio n. 39
0
 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);
 }
Esempio n. 40
0
 protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst)
 {
     global::System.Array.Sort <global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
 }