Esempio n. 1
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. 2
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. 3
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. 4
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);
 }
 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 = "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);
 }
Esempio n. 7
0
 private void InitClass()
 {
     this.DataSetName = "THE_Data";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/THE_Data.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableUnits = new UnitsDataTable();
     base.Tables.Add(this.tableUnits);
     this.tableUnit = new UnitDataTable();
     base.Tables.Add(this.tableUnit);
     this.tableSkills = new SkillsDataTable();
     base.Tables.Add(this.tableSkills);
     this.tableSkill = new SkillDataTable();
     base.Tables.Add(this.tableSkill);
     this.tableSpellEffect = new SpellEffectDataTable();
     base.Tables.Add(this.tableSpellEffect);
     this.tableVariableValue = new VariableValueDataTable();
     base.Tables.Add(this.tableVariableValue);
     this.tableSpellEffectBases = new SpellEffectBasesDataTable();
     base.Tables.Add(this.tableSpellEffectBases);
     this.tableSpellEffectBase = new SpellEffectBaseDataTable();
     base.Tables.Add(this.tableSpellEffectBase);
     this.tableVariable = new VariableDataTable();
     base.Tables.Add(this.tableVariable);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("Units_Unit", new global::System.Data.DataColumn[] {
                 this.tableUnits.Units_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableUnit.Units_IdColumn});
     this.tableUnit.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("Skills_Skill", new global::System.Data.DataColumn[] {
                 this.tableSkills.Skills_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableSkill.Skills_IdColumn});
     this.tableSkill.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("Skill_SpellEffect", new global::System.Data.DataColumn[] {
                 this.tableSkill.Skill_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableSpellEffect.Skill_IdColumn});
     this.tableSpellEffect.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("SpellEffect_VariableValue", new global::System.Data.DataColumn[] {
                 this.tableSpellEffect.SpellEffect_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableVariableValue.SpellEffect_IdColumn});
     this.tableVariableValue.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("SpellEffectBases_SpellEffectBase", new global::System.Data.DataColumn[] {
                 this.tableSpellEffectBases.SpellEffectBases_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableSpellEffectBase.SpellEffectBases_IdColumn});
     this.tableSpellEffectBase.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("SpellEffectBase_Variable", new global::System.Data.DataColumn[] {
                 this.tableSpellEffectBase.SpellEffectBase_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableVariable.SpellEffectBase_IdColumn});
     this.tableVariable.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.relationUnits_Unit = new global::System.Data.DataRelation("Units_Unit", new global::System.Data.DataColumn[] {
                 this.tableUnits.Units_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableUnit.Units_IdColumn}, false);
     this.relationUnits_Unit.Nested = true;
     this.Relations.Add(this.relationUnits_Unit);
     this.relationSkills_Skill = new global::System.Data.DataRelation("Skills_Skill", new global::System.Data.DataColumn[] {
                 this.tableSkills.Skills_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableSkill.Skills_IdColumn}, false);
     this.relationSkills_Skill.Nested = true;
     this.Relations.Add(this.relationSkills_Skill);
     this.relationSkill_SpellEffect = new global::System.Data.DataRelation("Skill_SpellEffect", new global::System.Data.DataColumn[] {
                 this.tableSkill.Skill_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableSpellEffect.Skill_IdColumn}, false);
     this.relationSkill_SpellEffect.Nested = true;
     this.Relations.Add(this.relationSkill_SpellEffect);
     this.relationSpellEffect_VariableValue = new global::System.Data.DataRelation("SpellEffect_VariableValue", new global::System.Data.DataColumn[] {
                 this.tableSpellEffect.SpellEffect_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableVariableValue.SpellEffect_IdColumn}, false);
     this.relationSpellEffect_VariableValue.Nested = true;
     this.Relations.Add(this.relationSpellEffect_VariableValue);
     this.relationSpellEffectBases_SpellEffectBase = new global::System.Data.DataRelation("SpellEffectBases_SpellEffectBase", new global::System.Data.DataColumn[] {
                 this.tableSpellEffectBases.SpellEffectBases_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableSpellEffectBase.SpellEffectBases_IdColumn}, false);
     this.relationSpellEffectBases_SpellEffectBase.Nested = true;
     this.Relations.Add(this.relationSpellEffectBases_SpellEffectBase);
     this.relationSpellEffectBase_Variable = new global::System.Data.DataRelation("SpellEffectBase_Variable", new global::System.Data.DataColumn[] {
                 this.tableSpellEffectBase.SpellEffectBase_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableVariable.SpellEffectBase_IdColumn}, false);
     this.relationSpellEffectBase_Variable.Nested = true;
     this.Relations.Add(this.relationSpellEffectBase_Variable);
 }
Esempio n. 8
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 = "WAYBILL_ADDITION";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableSUBREGION = new SUBREGIONDataTable();
     base.Tables.Add(this.tableSUBREGION);
     this.tableDESTINATION_CODE = new DESTINATION_CODEDataTable();
     base.Tables.Add(this.tableDESTINATION_CODE);
     this.tableBOX = new BOXDataTable();
     base.Tables.Add(this.tableBOX);
     this.tableUDF_HEADER = new UDF_HEADERDataTable();
     base.Tables.Add(this.tableUDF_HEADER);
     this.tableUDF_DETAIL = new UDF_DETAILDataTable();
     base.Tables.Add(this.tableUDF_DETAIL);
     this.tableUDF_BOX = new UDF_BOXDataTable();
     base.Tables.Add(this.tableUDF_BOX);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("SUBREGION_DESTINATION_CODE", new global::System.Data.DataColumn[] {
                 this.tableSUBREGION.SUBREGION_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableDESTINATION_CODE.SUBREGION_IdColumn});
     this.tableDESTINATION_CODE.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("DESTINATION_CODE_BOX", new global::System.Data.DataColumn[] {
                 this.tableDESTINATION_CODE.DESTINATION_CODE_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableBOX.DESTINATION_CODE_IdColumn});
     this.tableBOX.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("BOX_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.BOX_Id_0Column});
     this.tableUDF_HEADER.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("BOX_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.BOX_Id_0Column});
     this.tableUDF_DETAIL.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("BOX_UDF_BOX", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_BOX.BOX_Id_0Column});
     this.tableUDF_BOX.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.relationSUBREGION_DESTINATION_CODE = new global::System.Data.DataRelation("SUBREGION_DESTINATION_CODE", new global::System.Data.DataColumn[] {
                 this.tableSUBREGION.SUBREGION_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableDESTINATION_CODE.SUBREGION_IdColumn}, false);
     this.relationSUBREGION_DESTINATION_CODE.Nested = true;
     this.Relations.Add(this.relationSUBREGION_DESTINATION_CODE);
     this.relationDESTINATION_CODE_BOX = new global::System.Data.DataRelation("DESTINATION_CODE_BOX", new global::System.Data.DataColumn[] {
                 this.tableDESTINATION_CODE.DESTINATION_CODE_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableBOX.DESTINATION_CODE_IdColumn}, false);
     this.relationDESTINATION_CODE_BOX.Nested = true;
     this.Relations.Add(this.relationDESTINATION_CODE_BOX);
     this.relationBOX_UDF_HEADER = new global::System.Data.DataRelation("BOX_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.BOX_Id_0Column}, false);
     this.relationBOX_UDF_HEADER.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_HEADER);
     this.relationBOX_UDF_DETAIL = new global::System.Data.DataRelation("BOX_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.BOX_Id_0Column}, false);
     this.relationBOX_UDF_DETAIL.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_DETAIL);
     this.relationBOX_UDF_BOX = new global::System.Data.DataRelation("BOX_UDF_BOX", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_BOX.BOX_Id_0Column}, false);
     this.relationBOX_UDF_BOX.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_BOX);
 }
 private void InitClass() {
     this.DataSetName = "BOXES";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableBOX = new BOXDataTable();
     base.Tables.Add(this.tableBOX);
     this.tableUDF_HEADER = new UDF_HEADERDataTable();
     base.Tables.Add(this.tableUDF_HEADER);
     this.tableUDF_DETAIL = new UDF_DETAILDataTable();
     base.Tables.Add(this.tableUDF_DETAIL);
     this.tableUDF_BOX = new UDF_BOXDataTable();
     base.Tables.Add(this.tableUDF_BOX);
     this.tableSERIAL_NUM = new SERIAL_NUMDataTable();
     base.Tables.Add(this.tableSERIAL_NUM);
     this.tableLABEL_INSTR_HEAD = new LABEL_INSTR_HEADDataTable();
     base.Tables.Add(this.tableLABEL_INSTR_HEAD);
     this.tablePACK_ID_LINE_ITEM = new PACK_ID_LINE_ITEMDataTable();
     base.Tables.Add(this.tablePACK_ID_LINE_ITEM);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("BOX_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.BOX_Id_0Column});
     this.tableUDF_HEADER.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("BOX_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.BOX_Id_0Column});
     this.tableUDF_DETAIL.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("BOX_UDF_BOX", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_BOX.BOX_Id_0Column});
     this.tableUDF_BOX.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("BOX_SERIAL_NUM", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableSERIAL_NUM.BOX_Id_0Column});
     this.tableSERIAL_NUM.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("BOX_LABEL_INSTR_HEAD", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableLABEL_INSTR_HEAD.BOX_Id_0Column});
     this.tableLABEL_INSTR_HEAD.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("BOX_PACK_ID_LINE_ITEM", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tablePACK_ID_LINE_ITEM.BOX_Id_0Column});
     this.tablePACK_ID_LINE_ITEM.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.relationBOX_UDF_HEADER = new global::System.Data.DataRelation("BOX_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.BOX_Id_0Column}, false);
     this.relationBOX_UDF_HEADER.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_HEADER);
     this.relationBOX_UDF_DETAIL = new global::System.Data.DataRelation("BOX_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.BOX_Id_0Column}, false);
     this.relationBOX_UDF_DETAIL.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_DETAIL);
     this.relationBOX_UDF_BOX = new global::System.Data.DataRelation("BOX_UDF_BOX", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_BOX.BOX_Id_0Column}, false);
     this.relationBOX_UDF_BOX.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_BOX);
     this.relationBOX_SERIAL_NUM = new global::System.Data.DataRelation("BOX_SERIAL_NUM", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableSERIAL_NUM.BOX_Id_0Column}, false);
     this.relationBOX_SERIAL_NUM.Nested = true;
     this.Relations.Add(this.relationBOX_SERIAL_NUM);
     this.relationBOX_LABEL_INSTR_HEAD = new global::System.Data.DataRelation("BOX_LABEL_INSTR_HEAD", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableLABEL_INSTR_HEAD.BOX_Id_0Column}, false);
     this.relationBOX_LABEL_INSTR_HEAD.Nested = true;
     this.Relations.Add(this.relationBOX_LABEL_INSTR_HEAD);
     this.relationBOX_PACK_ID_LINE_ITEM = new global::System.Data.DataRelation("BOX_PACK_ID_LINE_ITEM", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tablePACK_ID_LINE_ITEM.BOX_Id_0Column}, false);
     this.relationBOX_PACK_ID_LINE_ITEM.Nested = true;
     this.Relations.Add(this.relationBOX_PACK_ID_LINE_ITEM);
 }
Esempio n. 11
0
 private void InitClass()
 {
     this.DataSetName = "AntMovieCatalog";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCatalog = new CatalogDataTable();
     base.Tables.Add(this.tableCatalog);
     this.tableContents = new ContentsDataTable();
     base.Tables.Add(this.tableContents);
     this.tableMovie = new MovieDataTable(false);
     base.Tables.Add(this.tableMovie);
     this.tablePerson = new PersonDataTable();
     base.Tables.Add(this.tablePerson);
     this.tableWatched = new WatchedDataTable();
     base.Tables.Add(this.tableWatched);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("Catalog_Contents", new global::System.Data.DataColumn[] {
                 this.tableCatalog.Catalog_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableContents.Catalog_IdColumn});
     this.tableContents.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("Contents_Movie", new global::System.Data.DataColumn[] {
                 this.tableContents.Contents_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableMovie.Contents_IdColumn});
     this.tableMovie.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.relationCatalog_Contents = new global::System.Data.DataRelation("Catalog_Contents", new global::System.Data.DataColumn[] {
                 this.tableCatalog.Catalog_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableContents.Catalog_IdColumn}, false);
     this.relationCatalog_Contents.Nested = true;
     this.Relations.Add(this.relationCatalog_Contents);
     this.relationContents_Movie = new global::System.Data.DataRelation("Contents_Movie", new global::System.Data.DataColumn[] {
                 this.tableContents.Contents_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableMovie.Contents_IdColumn}, false);
     this.relationContents_Movie.Nested = true;
     this.Relations.Add(this.relationContents_Movie);
 }
 private void InitClass() {
     this.DataSetName = "MASTER_WAYBILLS";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableMASTER_WAYBILL = new MASTER_WAYBILLDataTable();
     base.Tables.Add(this.tableMASTER_WAYBILL);
     this.tableHOUSE_WAYBILL = new HOUSE_WAYBILLDataTable();
     base.Tables.Add(this.tableHOUSE_WAYBILL);
     this.tablePALLET = new PALLETDataTable();
     base.Tables.Add(this.tablePALLET);
     this.tableUDF_PALLET = new UDF_PALLETDataTable();
     base.Tables.Add(this.tableUDF_PALLET);
     this.tableBOX = new BOXDataTable();
     base.Tables.Add(this.tableBOX);
     this.tableSERIAL_NUM = new SERIAL_NUMDataTable();
     base.Tables.Add(this.tableSERIAL_NUM);
     this.tableUDF_HEADER = new UDF_HEADERDataTable();
     base.Tables.Add(this.tableUDF_HEADER);
     this.tableUDF_DETAIL = new UDF_DETAILDataTable();
     base.Tables.Add(this.tableUDF_DETAIL);
     this.tableUDF_BOX = new UDF_BOXDataTable();
     base.Tables.Add(this.tableUDF_BOX);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("MASTER_WAYBILL_HOUSE_WAYBILL", new global::System.Data.DataColumn[] {
                 this.tableMASTER_WAYBILL.MASTER_WAYBILL_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableHOUSE_WAYBILL.MASTER_WAYBILL_IdColumn});
     this.tableHOUSE_WAYBILL.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("HOUSE_WAYBILL_PALLET", new global::System.Data.DataColumn[] {
                 this.tableHOUSE_WAYBILL.HOUSE_WAYBILL_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePALLET.HOUSE_WAYBILL_IdColumn});
     this.tablePALLET.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("PALLET_UDF_PALLET", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_PALLET.PALLET_Id_0Column});
     this.tableUDF_PALLET.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("PALLET_BOX", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableBOX.PALLET_Id_0Column});
     this.tableBOX.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("BOX_SERIAL_NUM", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableSERIAL_NUM.BOX_Id_0Column});
     this.tableSERIAL_NUM.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("BOX_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.BOX_Id_0Column});
     this.tableUDF_HEADER.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("BOX_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.BOX_Id_0Column});
     this.tableUDF_DETAIL.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("BOX_UDF_BOX", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_BOX.BOX_Id_0Column});
     this.tableUDF_BOX.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.relationMASTER_WAYBILL_HOUSE_WAYBILL = new global::System.Data.DataRelation("MASTER_WAYBILL_HOUSE_WAYBILL", new global::System.Data.DataColumn[] {
                 this.tableMASTER_WAYBILL.MASTER_WAYBILL_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableHOUSE_WAYBILL.MASTER_WAYBILL_IdColumn}, false);
     this.relationMASTER_WAYBILL_HOUSE_WAYBILL.Nested = true;
     this.Relations.Add(this.relationMASTER_WAYBILL_HOUSE_WAYBILL);
     this.relationHOUSE_WAYBILL_PALLET = new global::System.Data.DataRelation("HOUSE_WAYBILL_PALLET", new global::System.Data.DataColumn[] {
                 this.tableHOUSE_WAYBILL.HOUSE_WAYBILL_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePALLET.HOUSE_WAYBILL_IdColumn}, false);
     this.relationHOUSE_WAYBILL_PALLET.Nested = true;
     this.Relations.Add(this.relationHOUSE_WAYBILL_PALLET);
     this.relationPALLET_UDF_PALLET = new global::System.Data.DataRelation("PALLET_UDF_PALLET", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_PALLET.PALLET_Id_0Column}, false);
     this.relationPALLET_UDF_PALLET.Nested = true;
     this.Relations.Add(this.relationPALLET_UDF_PALLET);
     this.relationPALLET_BOX = new global::System.Data.DataRelation("PALLET_BOX", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableBOX.PALLET_Id_0Column}, false);
     this.relationPALLET_BOX.Nested = true;
     this.Relations.Add(this.relationPALLET_BOX);
     this.relationBOX_SERIAL_NUM = new global::System.Data.DataRelation("BOX_SERIAL_NUM", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableSERIAL_NUM.BOX_Id_0Column}, false);
     this.relationBOX_SERIAL_NUM.Nested = true;
     this.Relations.Add(this.relationBOX_SERIAL_NUM);
     this.relationBOX_UDF_HEADER = new global::System.Data.DataRelation("BOX_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.BOX_Id_0Column}, false);
     this.relationBOX_UDF_HEADER.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_HEADER);
     this.relationBOX_UDF_DETAIL = new global::System.Data.DataRelation("BOX_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.BOX_Id_0Column}, false);
     this.relationBOX_UDF_DETAIL.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_DETAIL);
     this.relationBOX_UDF_BOX = new global::System.Data.DataRelation("BOX_UDF_BOX", new global::System.Data.DataColumn[] {
                 this.tableBOX.BOX_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_BOX.BOX_Id_0Column}, false);
     this.relationBOX_UDF_BOX.Nested = true;
     this.Relations.Add(this.relationBOX_UDF_BOX);
 }
 private void InitClass() {
     this.DataSetName = "MultiXTpmDB";
     this.Prefix = "";
     this.Namespace = "http://mitug.co.il/MultiXTpmDB.xsd";
     this.Locale = new global::System.Globalization.CultureInfo("en");
     this.EnforceConstraints = false;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableProcessClass = new ProcessClassDataTable();
     base.Tables.Add(this.tableProcessClass);
     this.tableLink = new LinkDataTable();
     base.Tables.Add(this.tableLink);
     this.tableGroup = new GroupDataTable();
     base.Tables.Add(this.tableGroup);
     this.tableMessage = new MessageDataTable();
     base.Tables.Add(this.tableMessage);
     this.tableGroupForwardFlags = new GroupForwardFlagsDataTable();
     base.Tables.Add(this.tableGroupForwardFlags);
     this.tableParam = new ParamDataTable();
     base.Tables.Add(this.tableParam);
     this.tableProcessClassLinks = new ProcessClassLinksDataTable();
     base.Tables.Add(this.tableProcessClassLinks);
     this.tableProcessClassParams = new ProcessClassParamsDataTable();
     base.Tables.Add(this.tableProcessClassParams);
     this.tableLinkParams = new LinkParamsDataTable();
     base.Tables.Add(this.tableLinkParams);
     this.tableGroupProcessClasses = new GroupProcessClassesDataTable();
     base.Tables.Add(this.tableGroupProcessClasses);
     this.tableGroupStatusProcesses = new GroupStatusProcessesDataTable();
     base.Tables.Add(this.tableGroupStatusProcesses);
     this.tableGroupStatus = new GroupStatusDataTable();
     base.Tables.Add(this.tableGroupStatus);
     this.tableProcessStatus = new ProcessStatusDataTable();
     base.Tables.Add(this.tableProcessStatus);
     this.tableUserPermissions = new UserPermissionsDataTable();
     base.Tables.Add(this.tableUserPermissions);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("MessageGroupForwardFlags", new global::System.Data.DataColumn[] {
                 this.tableMessage.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupForwardFlags.MessageIDColumn});
     this.tableGroupForwardFlags.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("GroupGroupForwardFlags", new global::System.Data.DataColumn[] {
                 this.tableGroup.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupForwardFlags.GroupIDColumn});
     this.tableGroupForwardFlags.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("LinkProcessClassLinks", new global::System.Data.DataColumn[] {
                 this.tableLink.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessClassLinks.LinkIDColumn});
     this.tableProcessClassLinks.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("ProcessClassProcessClassLinks", new global::System.Data.DataColumn[] {
                 this.tableProcessClass.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessClassLinks.ProcessClassIDColumn});
     this.tableProcessClassLinks.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("ParamProcessClassParams", new global::System.Data.DataColumn[] {
                 this.tableParam.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessClassParams.ParamIDColumn});
     this.tableProcessClassParams.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("ProcessClassProcessClassParams", new global::System.Data.DataColumn[] {
                 this.tableProcessClass.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessClassParams.ProcessClassIDColumn});
     this.tableProcessClassParams.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("ParamLinkParams", new global::System.Data.DataColumn[] {
                 this.tableParam.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLinkParams.ParamIDColumn});
     this.tableLinkParams.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("LinkLinkParams", new global::System.Data.DataColumn[] {
                 this.tableLink.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLinkParams.LinkIDColumn});
     this.tableLinkParams.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("GroupGroupProcessClasses", new global::System.Data.DataColumn[] {
                 this.tableGroup.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupProcessClasses.GroupIDColumn});
     this.tableGroupProcessClasses.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("ProcessClassGroupProcessClasses", new global::System.Data.DataColumn[] {
                 this.tableProcessClass.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupProcessClasses.ProcessClassIDColumn});
     this.tableGroupProcessClasses.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("ProcessStatusGroupStatusProcesses", new global::System.Data.DataColumn[] {
                 this.tableProcessStatus.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupStatusProcesses.ProcessIDColumn});
     this.tableGroupStatusProcesses.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("GroupStatusGroupStatusProcesses", new global::System.Data.DataColumn[] {
                 this.tableGroupStatus.GroupIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupStatusProcesses.GroupIDColumn});
     this.tableGroupStatusProcesses.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("GroupGroupStatus", new global::System.Data.DataColumn[] {
                 this.tableGroup.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupStatus.GroupIDColumn});
     this.tableGroupStatus.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("ProcessProcessStatus", new global::System.Data.DataColumn[] {
                 this.tableProcessClass.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessStatus.ProcessClassIDColumn});
     this.tableProcessStatus.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.relationMessageGroupForwardFlags = new global::System.Data.DataRelation("MessageGroupForwardFlags", new global::System.Data.DataColumn[] {
                 this.tableMessage.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupForwardFlags.MessageIDColumn}, false);
     this.Relations.Add(this.relationMessageGroupForwardFlags);
     this.relationGroupGroupForwardFlags = new global::System.Data.DataRelation("GroupGroupForwardFlags", new global::System.Data.DataColumn[] {
                 this.tableGroup.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupForwardFlags.GroupIDColumn}, false);
     this.Relations.Add(this.relationGroupGroupForwardFlags);
     this.relationLinkProcessClassLinks = new global::System.Data.DataRelation("LinkProcessClassLinks", new global::System.Data.DataColumn[] {
                 this.tableLink.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessClassLinks.LinkIDColumn}, false);
     this.Relations.Add(this.relationLinkProcessClassLinks);
     this.relationProcessClassProcessClassLinks = new global::System.Data.DataRelation("ProcessClassProcessClassLinks", new global::System.Data.DataColumn[] {
                 this.tableProcessClass.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessClassLinks.ProcessClassIDColumn}, false);
     this.Relations.Add(this.relationProcessClassProcessClassLinks);
     this.relationParamProcessClassParams = new global::System.Data.DataRelation("ParamProcessClassParams", new global::System.Data.DataColumn[] {
                 this.tableParam.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessClassParams.ParamIDColumn}, false);
     this.Relations.Add(this.relationParamProcessClassParams);
     this.relationProcessClassProcessClassParams = new global::System.Data.DataRelation("ProcessClassProcessClassParams", new global::System.Data.DataColumn[] {
                 this.tableProcessClass.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessClassParams.ProcessClassIDColumn}, false);
     this.Relations.Add(this.relationProcessClassProcessClassParams);
     this.relationParamLinkParams = new global::System.Data.DataRelation("ParamLinkParams", new global::System.Data.DataColumn[] {
                 this.tableParam.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLinkParams.ParamIDColumn}, false);
     this.Relations.Add(this.relationParamLinkParams);
     this.relationLinkLinkParams = new global::System.Data.DataRelation("LinkLinkParams", new global::System.Data.DataColumn[] {
                 this.tableLink.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableLinkParams.LinkIDColumn}, false);
     this.Relations.Add(this.relationLinkLinkParams);
     this.relationGroupGroupProcessClasses = new global::System.Data.DataRelation("GroupGroupProcessClasses", new global::System.Data.DataColumn[] {
                 this.tableGroup.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupProcessClasses.GroupIDColumn}, false);
     this.Relations.Add(this.relationGroupGroupProcessClasses);
     this.relationProcessClassGroupProcessClasses = new global::System.Data.DataRelation("ProcessClassGroupProcessClasses", new global::System.Data.DataColumn[] {
                 this.tableProcessClass.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupProcessClasses.ProcessClassIDColumn}, false);
     this.Relations.Add(this.relationProcessClassGroupProcessClasses);
     this.relationProcessStatusGroupStatusProcesses = new global::System.Data.DataRelation("ProcessStatusGroupStatusProcesses", new global::System.Data.DataColumn[] {
                 this.tableProcessStatus.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupStatusProcesses.ProcessIDColumn}, false);
     this.Relations.Add(this.relationProcessStatusGroupStatusProcesses);
     this.relationGroupStatusGroupStatusProcesses = new global::System.Data.DataRelation("GroupStatusGroupStatusProcesses", new global::System.Data.DataColumn[] {
                 this.tableGroupStatus.GroupIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupStatusProcesses.GroupIDColumn}, false);
     this.Relations.Add(this.relationGroupStatusGroupStatusProcesses);
     this.relationGroupGroupStatus = new global::System.Data.DataRelation("GroupGroupStatus", new global::System.Data.DataColumn[] {
                 this.tableGroup.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableGroupStatus.GroupIDColumn}, false);
     this.Relations.Add(this.relationGroupGroupStatus);
     this.relationProcessProcessStatus = new global::System.Data.DataRelation("ProcessProcessStatus", new global::System.Data.DataColumn[] {
                 this.tableProcessClass.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableProcessStatus.ProcessClassIDColumn}, false);
     this.Relations.Add(this.relationProcessProcessStatus);
 }
Esempio n. 14
0
 private void InitClass()
 {
     this.DataSetName = "PaymentSet";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCustomers = new CustomersDataTable();
     base.Tables.Add(this.tableCustomers);
     this.tablePayments = new PaymentsDataTable();
     base.Tables.Add(this.tablePayments);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("CustomerIdForeignKey", new global::System.Data.DataColumn[] {
                 this.tableCustomers.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePayments.CustomerIdColumn});
     this.tablePayments.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.relationCustomerIdForeignKey = new global::System.Data.DataRelation("CustomerIdForeignKey", new global::System.Data.DataColumn[] {
                 this.tableCustomers.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePayments.CustomerIdColumn}, false);
     this.Relations.Add(this.relationCustomerIdForeignKey);
 }
 private void InitClass() {
     this.DataSetName = "programs";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableprogram = new programDataTable();
     base.Tables.Add(this.tableprogram);
     this.tablecommands = new commandsDataTable();
     base.Tables.Add(this.tablecommands);
     this.tablecommand = new commandDataTable();
     base.Tables.Add(this.tablecommand);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("program_commands", new global::System.Data.DataColumn[] {
                 this.tableprogram.program_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecommands.program_IdColumn});
     this.tablecommands.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("commands_command", new global::System.Data.DataColumn[] {
                 this.tablecommands.commands_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecommand.commands_IdColumn});
     this.tablecommand.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.relationprogram_commands = new global::System.Data.DataRelation("program_commands", new global::System.Data.DataColumn[] {
                 this.tableprogram.program_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecommands.program_IdColumn}, false);
     this.relationprogram_commands.Nested = true;
     this.Relations.Add(this.relationprogram_commands);
     this.relationcommands_command = new global::System.Data.DataRelation("commands_command", new global::System.Data.DataColumn[] {
                 this.tablecommands.commands_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecommand.commands_IdColumn}, false);
     this.relationcommands_command.Nested = true;
     this.Relations.Add(this.relationcommands_command);
 }
Esempio n. 16
0
 private void InitClass()
 {
     this.DataSetName = "NewDataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/msg";
     this.Locale = new global::System.Globalization.CultureInfo("");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.table_MAP_msg_listing = new _MAP_msg_listingDataTable();
     base.Tables.Add(this.table_MAP_msg_listing);
     this.tablemsg = new msgDataTable();
     base.Tables.Add(this.tablemsg);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("MAP-msg-listing_msg", new global::System.Data.DataColumn[] {
                 this.table_MAP_msg_listing._MAP_msg_listing_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablemsg._MAP_msg_listing_IdColumn});
     this.tablemsg.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._relationMAP_msg_listing_msg = new global::System.Data.DataRelation("MAP-msg-listing_msg", new global::System.Data.DataColumn[] {
                 this.table_MAP_msg_listing._MAP_msg_listing_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablemsg._MAP_msg_listing_IdColumn}, false);
     this._relationMAP_msg_listing_msg.Nested = true;
     this.Relations.Add(this._relationMAP_msg_listing_msg);
 }
Esempio n. 17
0
 private void InitClass() {
     this.DataSetName = "dvrb";
     this.Prefix = "";
     this.Locale = new global::System.Globalization.CultureInfo("en-US");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tablefile = new fileDataTable();
     base.Tables.Add(this.tablefile);
     this.tableencoding = new encodingDataTable();
     base.Tables.Add(this.tableencoding);
     this.tableaudio = new audioDataTable();
     base.Tables.Add(this.tableaudio);
     this.tableacodec = new acodecDataTable();
     base.Tables.Add(this.tableacodec);
     this.tablevideo = new videoDataTable();
     base.Tables.Add(this.tablevideo);
     this.tablevcodec = new vcodecDataTable();
     base.Tables.Add(this.tablevcodec);
     this.tableinput = new inputDataTable();
     base.Tables.Add(this.tableinput);
     this.tableoutput = new outputDataTable();
     base.Tables.Add(this.tableoutput);
     this.tablelive = new liveDataTable();
     base.Tables.Add(this.tablelive);
     this.tablevod = new vodDataTable();
     base.Tables.Add(this.tablevod);
     this.tablemetadata = new metadataDataTable();
     base.Tables.Add(this.tablemetadata);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("encoding_audio", new global::System.Data.DataColumn[] {
                 this.tableencoding.encoding_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableaudio.encoding_IdColumn});
     this.tableaudio.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("audio_acodec", new global::System.Data.DataColumn[] {
                 this.tableaudio.audio_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableacodec.audio_IdColumn});
     this.tableacodec.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("encoding_video", new global::System.Data.DataColumn[] {
                 this.tableencoding.encoding_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablevideo.encoding_IdColumn});
     this.tablevideo.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("video_vcodec", new global::System.Data.DataColumn[] {
                 this.tablevideo.video_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablevcodec.video_IdColumn});
     this.tablevcodec.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("output_live", new global::System.Data.DataColumn[] {
                 this.tableoutput.output_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablelive.output_IdColumn});
     this.tablelive.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("output_vod", new global::System.Data.DataColumn[] {
                 this.tableoutput.output_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablevod.output_IdColumn});
     this.tablevod.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.relationencoding_audio = new global::System.Data.DataRelation("encoding_audio", new global::System.Data.DataColumn[] {
                 this.tableencoding.encoding_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableaudio.encoding_IdColumn}, false);
     this.relationencoding_audio.Nested = true;
     this.Relations.Add(this.relationencoding_audio);
     this.relationaudio_acodec = new global::System.Data.DataRelation("audio_acodec", new global::System.Data.DataColumn[] {
                 this.tableaudio.audio_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableacodec.audio_IdColumn}, false);
     this.relationaudio_acodec.Nested = true;
     this.Relations.Add(this.relationaudio_acodec);
     this.relationencoding_video = new global::System.Data.DataRelation("encoding_video", new global::System.Data.DataColumn[] {
                 this.tableencoding.encoding_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablevideo.encoding_IdColumn}, false);
     this.relationencoding_video.Nested = true;
     this.Relations.Add(this.relationencoding_video);
     this.relationvideo_vcodec = new global::System.Data.DataRelation("video_vcodec", new global::System.Data.DataColumn[] {
                 this.tablevideo.video_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablevcodec.video_IdColumn}, false);
     this.relationvideo_vcodec.Nested = true;
     this.Relations.Add(this.relationvideo_vcodec);
     this.relationoutput_live = new global::System.Data.DataRelation("output_live", new global::System.Data.DataColumn[] {
                 this.tableoutput.output_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablelive.output_IdColumn}, false);
     this.relationoutput_live.Nested = true;
     this.Relations.Add(this.relationoutput_live);
     this.relationoutput_vod = new global::System.Data.DataRelation("output_vod", new global::System.Data.DataColumn[] {
                 this.tableoutput.output_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablevod.output_IdColumn}, false);
     this.relationoutput_vod.Nested = true;
     this.Relations.Add(this.relationoutput_vod);
 }
 private void InitClass() {
     this.DataSetName = "Database1DataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Database1DataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableAsset_Info = new Asset_InfoDataTable();
     base.Tables.Add(this.tableAsset_Info);
     this.tableHistory = new HistoryDataTable();
     base.Tables.Add(this.tableHistory);
     this.tableDepreciation_Years = new Depreciation_YearsDataTable();
     base.Tables.Add(this.tableDepreciation_Years);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_History_Asset Info", new global::System.Data.DataColumn[] {
                 this.tableHistory.Asset_IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableAsset_Info.Asset_IDColumn});
     this.tableAsset_Info.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_Asset Info_History", new global::System.Data.DataColumn[] {
                 this.tableAsset_Info.Asset_IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableHistory.Asset_IDColumn});
     this.tableHistory.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_History_Asset_Info = new global::System.Data.DataRelation("FK_History_Asset Info", new global::System.Data.DataColumn[] {
                 this.tableHistory.Asset_IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableAsset_Info.Asset_IDColumn}, false);
     this.Relations.Add(this.relationFK_History_Asset_Info);
     this.relationFK_Asset_Info_History = new global::System.Data.DataRelation("FK_Asset Info_History", new global::System.Data.DataColumn[] {
                 this.tableAsset_Info.Asset_IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableHistory.Asset_IDColumn}, false);
     this.Relations.Add(this.relationFK_Asset_Info_History);
 }
Esempio n. 19
0
 private void InitClass() {
     this.DataSetName = "DatabaseSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DatabaseSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.table工作單 = new 工作單DataTable();
     base.Tables.Add(this.table工作單);
     this.table工作單品號 = new 工作單品號DataTable();
     base.Tables.Add(this.table工作單品號);
     this.table工時 = new 工時DataTable();
     base.Tables.Add(this.table工時);
     this.table使用者 = new 使用者DataTable();
     base.Tables.Add(this.table使用者);
     this.table非生產 = new 非生產DataTable();
     base.Tables.Add(this.table非生產);
     this.table員工 = new 員工DataTable();
     base.Tables.Add(this.table員工);
     this.table產品系列 = new 產品系列DataTable();
     base.Tables.Add(this.table產品系列);
     this.table產品品號 = new 產品品號DataTable();
     base.Tables.Add(this.table產品品號);
     this.table產線 = new 產線DataTable();
     base.Tables.Add(this.table產線);
     this.table產品品號View = new 產品品號ViewDataTable();
     base.Tables.Add(this.table產品品號View);
     this.table假日 = new 假日DataTable();
     base.Tables.Add(this.table假日);
     this.table假日View = new 假日ViewDataTable();
     base.Tables.Add(this.table假日View);
     this.table品質原因 = new 品質原因DataTable();
     base.Tables.Add(this.table品質原因);
     this.table產品檢驗 = new 產品檢驗DataTable();
     base.Tables.Add(this.table產品檢驗);
     this.table待驗清單 = new 待驗清單DataTable();
     base.Tables.Add(this.table待驗清單);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("工作單工作單品號", new global::System.Data.DataColumn[] {
                 this.table工作單.單號Column}, new global::System.Data.DataColumn[] {
                 this.table工作單品號.單號Column});
     this.table工作單品號.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("產線員工", new global::System.Data.DataColumn[] {
                 this.table產線.產線Column}, new global::System.Data.DataColumn[] {
                 this.table員工.產線Column});
     this.table員工.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("產線產品品號", new global::System.Data.DataColumn[] {
                 this.table產線.產線Column}, new global::System.Data.DataColumn[] {
                 this.table產品品號View.產線Column});
     this.table產品品號View.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.relation工作單工作單品號 = new global::System.Data.DataRelation("工作單工作單品號", new global::System.Data.DataColumn[] {
                 this.table工作單.單號Column}, new global::System.Data.DataColumn[] {
                 this.table工作單品號.單號Column}, false);
     this.Relations.Add(this.relation工作單工作單品號);
     this.relation產線員工 = new global::System.Data.DataRelation("產線員工", new global::System.Data.DataColumn[] {
                 this.table產線.產線Column}, new global::System.Data.DataColumn[] {
                 this.table員工.產線Column}, false);
     this.Relations.Add(this.relation產線員工);
     this.relation產線產品品號 = new global::System.Data.DataRelation("產線產品品號", new global::System.Data.DataColumn[] {
                 this.table產線.產線Column}, new global::System.Data.DataColumn[] {
                 this.table產品品號View.產線Column}, false);
     this.Relations.Add(this.relation產線產品品號);
     this.relation產品系列產品品號 = new global::System.Data.DataRelation("產品系列產品品號", new global::System.Data.DataColumn[] {
                 this.table產品系列.編號Column}, new global::System.Data.DataColumn[] {
                 this.table產品品號.系列編號Column}, false);
     this.Relations.Add(this.relation產品系列產品品號);
     this.relation產品系列產品品號1 = new global::System.Data.DataRelation("產品系列產品品號1", new global::System.Data.DataColumn[] {
                 this.table產品系列.編號Column}, new global::System.Data.DataColumn[] {
                 this.table產品品號View.系列編號Column}, false);
     this.Relations.Add(this.relation產品系列產品品號1);
     this.relation產線產品品號1 = new global::System.Data.DataRelation("產線產品品號1", new global::System.Data.DataColumn[] {
                 this.table產線.產線Column}, new global::System.Data.DataColumn[] {
                 this.table產品品號.產線Column}, false);
     this.Relations.Add(this.relation產線產品品號1);
     this.relation產品品號工作單品號 = new global::System.Data.DataRelation("產品品號工作單品號", new global::System.Data.DataColumn[] {
                 this.table產品品號.品號Column}, new global::System.Data.DataColumn[] {
                 this.table工作單品號.品號Column}, false);
     this.Relations.Add(this.relation產品品號工作單品號);
     this.relation工作單工時 = new global::System.Data.DataRelation("工作單工時", new global::System.Data.DataColumn[] {
                 this.table工作單.單號Column}, new global::System.Data.DataColumn[] {
                 this.table工時.工作單號Column}, false);
     this.Relations.Add(this.relation工作單工時);
     this.relation非生產工時 = new global::System.Data.DataRelation("非生產工時", new global::System.Data.DataColumn[] {
                 this.table非生產.編號Column}, new global::System.Data.DataColumn[] {
                 this.table工時.非生產編號Column}, false);
     this.Relations.Add(this.relation非生產工時);
     this.relation員工工時 = new global::System.Data.DataRelation("員工工時", new global::System.Data.DataColumn[] {
                 this.table員工.編號Column}, new global::System.Data.DataColumn[] {
                 this.table工時.員工編號Column}, false);
     this.Relations.Add(this.relation員工工時);
     this.relation產品品號工作單品號1 = new global::System.Data.DataRelation("產品品號工作單品號1", new global::System.Data.DataColumn[] {
                 this.table產品品號View.品號Column}, new global::System.Data.DataColumn[] {
                 this.table工作單品號.品號Column}, false);
     this.Relations.Add(this.relation產品品號工作單品號1);
     this.relation工時產品檢驗 = new global::System.Data.DataRelation("工時產品檢驗", new global::System.Data.DataColumn[] {
                 this.table工時.編號Column}, new global::System.Data.DataColumn[] {
                 this.table產品檢驗.工時資料編號Column}, false);
     this.Relations.Add(this.relation工時產品檢驗);
     this.relation工作單品號工時1 = new global::System.Data.DataRelation("工作單品號工時1", new global::System.Data.DataColumn[] {
                 this.table工作單品號.單號Column,
                 this.table工作單品號.編號Column}, new global::System.Data.DataColumn[] {
                 this.table工時.工作單號Column,
                 this.table工時.工品編號Column}, false);
     this.Relations.Add(this.relation工作單品號工時1);
 }
Esempio n. 20
0
 private void InitClass() {
     this.DataSetName = "NewDataSet";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tabletv = new tvDataTable();
     base.Tables.Add(this.tabletv);
     this.tablechannel = new channelDataTable();
     base.Tables.Add(this.tablechannel);
     this.table_display_name = new _display_nameDataTable();
     base.Tables.Add(this.table_display_name);
     this.tableicon = new iconDataTable();
     base.Tables.Add(this.tableicon);
     this.tableprogramme = new programmeDataTable();
     base.Tables.Add(this.tableprogramme);
     this.tabletitle = new titleDataTable();
     base.Tables.Add(this.tabletitle);
     this.table_sub_title = new _sub_titleDataTable();
     base.Tables.Add(this.table_sub_title);
     this.tabledesc = new descDataTable();
     base.Tables.Add(this.tabledesc);
     this.tablecredits = new creditsDataTable();
     base.Tables.Add(this.tablecredits);
     this.tableproducer = new producerDataTable();
     base.Tables.Add(this.tableproducer);
     this.tablepresenter = new presenterDataTable();
     base.Tables.Add(this.tablepresenter);
     this.tableguest = new guestDataTable();
     base.Tables.Add(this.tableguest);
     this.tabledirector = new directorDataTable();
     base.Tables.Add(this.tabledirector);
     this.tableactor = new actorDataTable();
     base.Tables.Add(this.tableactor);
     this.tablecategory = new categoryDataTable();
     base.Tables.Add(this.tablecategory);
     this.tablecountry = new countryDataTable();
     base.Tables.Add(this.tablecountry);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("tv_channel", new global::System.Data.DataColumn[] {
                 this.tabletv.tv_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablechannel.tv_IdColumn});
     this.tablechannel.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("channel_display-name", new global::System.Data.DataColumn[] {
                 this.tablechannel.channel_IdColumn}, new global::System.Data.DataColumn[] {
                 this.table_display_name.channel_IdColumn});
     this.table_display_name.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("channel_icon", new global::System.Data.DataColumn[] {
                 this.tablechannel.channel_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableicon.channel_IdColumn});
     this.tableicon.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("tv_programme", new global::System.Data.DataColumn[] {
                 this.tabletv.tv_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableprogramme.tv_IdColumn});
     this.tableprogramme.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("programme_title", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tabletitle.programme_IdColumn});
     this.tabletitle.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("programme_sub-title", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.table_sub_title.programme_IdColumn});
     this.table_sub_title.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("programme_desc", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tabledesc.programme_IdColumn});
     this.tabledesc.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("programme_credits", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecredits.programme_IdColumn});
     this.tablecredits.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("credits_producer", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableproducer.credits_IdColumn});
     this.tableproducer.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("credits_presenter", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablepresenter.credits_IdColumn});
     this.tablepresenter.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("credits_guest", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableguest.credits_IdColumn});
     this.tableguest.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("credits_director", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tabledirector.credits_IdColumn});
     this.tabledirector.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("credits_actor", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableactor.credits_IdColumn});
     this.tableactor.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("programme_category", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecategory.programme_IdColumn});
     this.tablecategory.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("programme_country", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecountry.programme_IdColumn});
     this.tablecountry.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.relationtv_channel = new global::System.Data.DataRelation("tv_channel", new global::System.Data.DataColumn[] {
                 this.tabletv.tv_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablechannel.tv_IdColumn}, false);
     this.relationtv_channel.Nested = true;
     this.Relations.Add(this.relationtv_channel);
     this._relationchannel_display_name = new global::System.Data.DataRelation("channel_display-name", new global::System.Data.DataColumn[] {
                 this.tablechannel.channel_IdColumn}, new global::System.Data.DataColumn[] {
                 this.table_display_name.channel_IdColumn}, false);
     this._relationchannel_display_name.Nested = true;
     this.Relations.Add(this._relationchannel_display_name);
     this.relationchannel_icon = new global::System.Data.DataRelation("channel_icon", new global::System.Data.DataColumn[] {
                 this.tablechannel.channel_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableicon.channel_IdColumn}, false);
     this.relationchannel_icon.Nested = true;
     this.Relations.Add(this.relationchannel_icon);
     this.relationtv_programme = new global::System.Data.DataRelation("tv_programme", new global::System.Data.DataColumn[] {
                 this.tabletv.tv_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableprogramme.tv_IdColumn}, false);
     this.relationtv_programme.Nested = true;
     this.Relations.Add(this.relationtv_programme);
     this.relationprogramme_title = new global::System.Data.DataRelation("programme_title", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tabletitle.programme_IdColumn}, false);
     this.relationprogramme_title.Nested = true;
     this.Relations.Add(this.relationprogramme_title);
     this._relationprogramme_sub_title = new global::System.Data.DataRelation("programme_sub-title", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.table_sub_title.programme_IdColumn}, false);
     this._relationprogramme_sub_title.Nested = true;
     this.Relations.Add(this._relationprogramme_sub_title);
     this.relationprogramme_desc = new global::System.Data.DataRelation("programme_desc", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tabledesc.programme_IdColumn}, false);
     this.relationprogramme_desc.Nested = true;
     this.Relations.Add(this.relationprogramme_desc);
     this.relationprogramme_credits = new global::System.Data.DataRelation("programme_credits", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecredits.programme_IdColumn}, false);
     this.relationprogramme_credits.Nested = true;
     this.Relations.Add(this.relationprogramme_credits);
     this.relationcredits_producer = new global::System.Data.DataRelation("credits_producer", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableproducer.credits_IdColumn}, false);
     this.relationcredits_producer.Nested = true;
     this.Relations.Add(this.relationcredits_producer);
     this.relationcredits_presenter = new global::System.Data.DataRelation("credits_presenter", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablepresenter.credits_IdColumn}, false);
     this.relationcredits_presenter.Nested = true;
     this.Relations.Add(this.relationcredits_presenter);
     this.relationcredits_guest = new global::System.Data.DataRelation("credits_guest", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableguest.credits_IdColumn}, false);
     this.relationcredits_guest.Nested = true;
     this.Relations.Add(this.relationcredits_guest);
     this.relationcredits_director = new global::System.Data.DataRelation("credits_director", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tabledirector.credits_IdColumn}, false);
     this.relationcredits_director.Nested = true;
     this.Relations.Add(this.relationcredits_director);
     this.relationcredits_actor = new global::System.Data.DataRelation("credits_actor", new global::System.Data.DataColumn[] {
                 this.tablecredits.credits_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableactor.credits_IdColumn}, false);
     this.relationcredits_actor.Nested = true;
     this.Relations.Add(this.relationcredits_actor);
     this.relationprogramme_category = new global::System.Data.DataRelation("programme_category", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecategory.programme_IdColumn}, false);
     this.relationprogramme_category.Nested = true;
     this.Relations.Add(this.relationprogramme_category);
     this.relationprogramme_country = new global::System.Data.DataRelation("programme_country", new global::System.Data.DataColumn[] {
                 this.tableprogramme.programme_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablecountry.programme_IdColumn}, false);
     this.relationprogramme_country.Nested = true;
     this.Relations.Add(this.relationprogramme_country);
 }
Esempio n. 21
0
 private void InitClass() {
     this.DataSetName = "Facts";
     this.Prefix = "";
     this.Namespace = "urn:www.genetibase.com:Facts";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableFact = new FactDataTable();
     base.Tables.Add(this.tableFact);
     this.tableWhat = new WhatDataTable();
     base.Tables.Add(this.tableWhat);
     this.tableWhere = new WhereDataTable();
     base.Tables.Add(this.tableWhere);
     this.tableWhen = new WhenDataTable();
     base.Tables.Add(this.tableWhen);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_What_Fact", new global::System.Data.DataColumn[] {
                 this.tableWhat.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableFact.WhatColumn});
     this.tableFact.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_Where_Fact", new global::System.Data.DataColumn[] {
                 this.tableWhere.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableFact.WhereColumn});
     this.tableFact.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_When_Fact", new global::System.Data.DataColumn[] {
                 this.tableWhen.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableFact.WhenColumn});
     this.tableFact.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_What_Fact = new global::System.Data.DataRelation("FK_What_Fact", new global::System.Data.DataColumn[] {
                 this.tableWhat.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableFact.WhatColumn}, false);
     this.Relations.Add(this.relationFK_What_Fact);
     this.relationFK_Where_Fact = new global::System.Data.DataRelation("FK_Where_Fact", new global::System.Data.DataColumn[] {
                 this.tableWhere.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableFact.WhereColumn}, false);
     this.Relations.Add(this.relationFK_Where_Fact);
     this.relationFK_When_Fact = new global::System.Data.DataRelation("FK_When_Fact", new global::System.Data.DataColumn[] {
                 this.tableWhen.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableFact.WhenColumn}, false);
     this.Relations.Add(this.relationFK_When_Fact);
 }
Esempio n. 22
0
 private void InitClass() {
     this.DataSetName = "MasterStore";
     this.Prefix = "";
     this.Namespace = "http://subsonicproject.com/schemas/MasterStore.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableProjects = new ProjectsDataTable();
     base.Tables.Add(this.tableProjects);
     this.tableProviderTypes = new ProviderTypesDataTable();
     base.Tables.Add(this.tableProviderTypes);
     this.tableProviders = new ProvidersDataTable();
     base.Tables.Add(this.tableProviders);
     this.tableConnectionStrings = new ConnectionStringsDataTable();
     base.Tables.Add(this.tableConnectionStrings);
     this.tableSubStageConfiguration = new SubStageConfigurationDataTable();
     base.Tables.Add(this.tableSubStageConfiguration);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Providers_Projects", new global::System.Data.DataColumn[] {
                 this.tableProviders.ProviderIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableProjects.DefaultProviderColumn});
     this.tableProjects.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_Projects_Providers", new global::System.Data.DataColumn[] {
                 this.tableProjects.ProjectIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableProviders.ProjectIdColumn});
     this.tableProviders.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_ConnectionStrings_Providers", new global::System.Data.DataColumn[] {
                 this.tableConnectionStrings.ConnectionStringIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableProviders.ConnectionStringIdColumn});
     this.tableProviders.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_ProviderTypes_Providers", new global::System.Data.DataColumn[] {
                 this.tableProviderTypes.ProviderTypeIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableProviders.ProviderTypeIdColumn});
     this.tableProviders.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_Providers_Projects = new global::System.Data.DataRelation("FK_Providers_Projects", new global::System.Data.DataColumn[] {
                 this.tableProviders.ProviderIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableProjects.DefaultProviderColumn}, false);
     this.Relations.Add(this.relationFK_Providers_Projects);
     this.relationFK_Projects_Providers = new global::System.Data.DataRelation("FK_Projects_Providers", new global::System.Data.DataColumn[] {
                 this.tableProjects.ProjectIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableProviders.ProjectIdColumn}, false);
     this.Relations.Add(this.relationFK_Projects_Providers);
     this.relationFK_ConnectionStrings_Providers = new global::System.Data.DataRelation("FK_ConnectionStrings_Providers", new global::System.Data.DataColumn[] {
                 this.tableConnectionStrings.ConnectionStringIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableProviders.ConnectionStringIdColumn}, false);
     this.Relations.Add(this.relationFK_ConnectionStrings_Providers);
     this.relationFK_ProviderTypes_Providers = new global::System.Data.DataRelation("FK_ProviderTypes_Providers", new global::System.Data.DataColumn[] {
                 this.tableProviderTypes.ProviderTypeIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableProviders.ProviderTypeIdColumn}, false);
     this.Relations.Add(this.relationFK_ProviderTypes_Providers);
 }
 private void InitClass() {
     this.DataSetName = "UserDS";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/UserDS.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableRole = new RoleDataTable();
     base.Tables.Add(this.tableRole);
     this.tableUser = new UserDataTable();
     base.Tables.Add(this.tableUser);
     this.tableUserRole = new UserRoleDataTable();
     base.Tables.Add(this.tableUserRole);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_User_Supervisor", new global::System.Data.DataColumn[] {
                 this.tableUser.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableUser.SupervisorIDColumn});
     this.tableUser.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_UserRole_User", new global::System.Data.DataColumn[] {
                 this.tableUser.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableUserRole.UserIDColumn});
     this.tableUserRole.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_UserRole_Role", new global::System.Data.DataColumn[] {
                 this.tableRole.IDColumn}, new global::System.Data.DataColumn[] {
                 this.tableUserRole.RoleIDColumn});
     this.tableUserRole.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
 }
 private void InitClass() {
     this.DataSetName = "PrebuiltConfigData";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/PrebuiltConfigData.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableConfigurationCategory = new ConfigurationCategoryDataTable();
     base.Tables.Add(this.tableConfigurationCategory);
     this.tableConfiguration = new ConfigurationDataTable();
     base.Tables.Add(this.tableConfiguration);
     this.tableInput = new InputDataTable();
     base.Tables.Add(this.tableInput);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_ConfigurationCategory_Configuration", new global::System.Data.DataColumn[] {
                 this.tableConfigurationCategory.CategoryIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableConfiguration.CategoryIDColumn});
     this.tableConfiguration.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_Configuration_Input", new global::System.Data.DataColumn[] {
                 this.tableConfiguration.ConfigurationIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableInput.ConfigurationIDColumn});
     this.tableInput.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_ConfigurationCategory_Configuration = new global::System.Data.DataRelation("FK_ConfigurationCategory_Configuration", new global::System.Data.DataColumn[] {
                 this.tableConfigurationCategory.CategoryIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableConfiguration.CategoryIDColumn}, false);
     this.relationFK_ConfigurationCategory_Configuration.Nested = true;
     this.Relations.Add(this.relationFK_ConfigurationCategory_Configuration);
     this.relationFK_Configuration_Input = new global::System.Data.DataRelation("FK_Configuration_Input", new global::System.Data.DataColumn[] {
                 this.tableConfiguration.ConfigurationIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableInput.ConfigurationIDColumn}, false);
     this.relationFK_Configuration_Input.Nested = true;
     this.Relations.Add(this.relationFK_Configuration_Input);
 }
Esempio n. 25
0
 private void InitClass() {
     this.DataSetName = "Content";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Content.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableItem = new ItemDataTable();
     base.Tables.Add(this.tableItem);
     this.tableItemInstance = new ItemInstanceDataTable();
     base.Tables.Add(this.tableItemInstance);
     this.tablePicture = new PictureDataTable();
     base.Tables.Add(this.tablePicture);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Item_ItemInstance", new global::System.Data.DataColumn[] {
                 this.tableItem.ContentIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableItemInstance.ContentIdColumn});
     this.tableItemInstance.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.Cascade;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Item_Picture", new global::System.Data.DataColumn[] {
                 this.tableItem.ContentIdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePicture.ContentIdColumn});
     this.tablePicture.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_Item_ItemInstance = new global::System.Data.DataRelation("FK_Item_ItemInstance", new global::System.Data.DataColumn[] {
                 this.tableItem.ContentIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableItemInstance.ContentIdColumn}, false);
     this.Relations.Add(this.relationFK_Item_ItemInstance);
     this.relationFK_Item_Picture = new global::System.Data.DataRelation("FK_Item_Picture", new global::System.Data.DataColumn[] {
                 this.tableItem.ContentIdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePicture.ContentIdColumn}, false);
     this.Relations.Add(this.relationFK_Item_Picture);
 }
 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);
 }
Esempio n. 27
0
 private void InitClass() {
     this.DataSetName = "UserDatabase";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/UserDatabase.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableBuddy_List = new Buddy_ListDataTable();
     base.Tables.Add(this.tableBuddy_List);
     this.tableUsers = new UsersDataTable();
     base.Tables.Add(this.tableUsers);
     this.tableUserData = new UserDataDataTable();
     base.Tables.Add(this.tableUserData);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("UsersBuddy_x0020_List", new global::System.Data.DataColumn[] {
                 this.tableUsers.UserIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableBuddy_List.UserIDColumn});
     this.tableBuddy_List.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.Cascade;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("UsersUserData", new global::System.Data.DataColumn[] {
                 this.tableUsers.UserIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableUserData.UserIDColumn});
     this.tableUserData.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.Cascade;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     this.relationUsersBuddy_x0020_List = new global::System.Data.DataRelation("UsersBuddy_x0020_List", new global::System.Data.DataColumn[] {
                 this.tableUsers.UserIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableBuddy_List.UserIDColumn}, false);
     this.Relations.Add(this.relationUsersBuddy_x0020_List);
     this.relationUsersUserData = new global::System.Data.DataRelation("UsersUserData", new global::System.Data.DataColumn[] {
                 this.tableUsers.UserIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableUserData.UserIDColumn}, false);
     this.Relations.Add(this.relationUsersUserData);
 }
 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);
 }
 private void InitClass() {
     this.DataSetName = "DescriptionPokemon";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DescriptionPokemon.xsd";
     this.Locale = new global::System.Globalization.CultureInfo("");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tablePOKEMON = new POKEMONDataTable();
     base.Tables.Add(this.tablePOKEMON);
     this.tableEFFORT_POINT = new EFFORT_POINTDataTable();
     base.Tables.Add(this.tableEFFORT_POINT);
     this.tableCAPACITE = new CAPACITEDataTable();
     base.Tables.Add(this.tableCAPACITE);
     this.tableCAPACITESPE = new CAPACITESPEDataTable();
     base.Tables.Add(this.tableCAPACITESPE);
     this.tableEVOLUTION = new EVOLUTIONDataTable();
     base.Tables.Add(this.tableEVOLUTION);
     this.tableDEPENDEVO = new DEPENDEVODataTable();
     base.Tables.Add(this.tableDEPENDEVO);
     this.tableFORME_PRIMAIRE = new FORME_PRIMAIREDataTable();
     base.Tables.Add(this.tableFORME_PRIMAIRE);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("POKEMON_EFFORT_POINT", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableEFFORT_POINT.POKEMON_IdColumn});
     this.tableEFFORT_POINT.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("POKEMON_CAPACITE", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCAPACITE.POKEMON_IdColumn});
     this.tableCAPACITE.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("POKEMON_CAPACITESPE", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCAPACITESPE.POKEMON_IdColumn});
     this.tableCAPACITESPE.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("POKEMON_EVOLUTION", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableEVOLUTION.POKEMON_IdColumn});
     this.tableEVOLUTION.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("POKEMON_DEPENDEVO", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableDEPENDEVO.POKEMON_IdColumn});
     this.tableDEPENDEVO.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("POKEMON_FORME_PRIMAIRE", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableFORME_PRIMAIRE.POKEMON_IdColumn});
     this.tableFORME_PRIMAIRE.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.relationPOKEMON_EFFORT_POINT = new global::System.Data.DataRelation("POKEMON_EFFORT_POINT", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableEFFORT_POINT.POKEMON_IdColumn}, false);
     this.relationPOKEMON_EFFORT_POINT.Nested = true;
     this.Relations.Add(this.relationPOKEMON_EFFORT_POINT);
     this.relationPOKEMON_CAPACITE = new global::System.Data.DataRelation("POKEMON_CAPACITE", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCAPACITE.POKEMON_IdColumn}, false);
     this.relationPOKEMON_CAPACITE.Nested = true;
     this.Relations.Add(this.relationPOKEMON_CAPACITE);
     this.relationPOKEMON_CAPACITESPE = new global::System.Data.DataRelation("POKEMON_CAPACITESPE", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableCAPACITESPE.POKEMON_IdColumn}, false);
     this.relationPOKEMON_CAPACITESPE.Nested = true;
     this.Relations.Add(this.relationPOKEMON_CAPACITESPE);
     this.relationPOKEMON_EVOLUTION = new global::System.Data.DataRelation("POKEMON_EVOLUTION", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableEVOLUTION.POKEMON_IdColumn}, false);
     this.relationPOKEMON_EVOLUTION.Nested = true;
     this.Relations.Add(this.relationPOKEMON_EVOLUTION);
     this.relationPOKEMON_DEPENDEVO = new global::System.Data.DataRelation("POKEMON_DEPENDEVO", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableDEPENDEVO.POKEMON_IdColumn}, false);
     this.relationPOKEMON_DEPENDEVO.Nested = true;
     this.Relations.Add(this.relationPOKEMON_DEPENDEVO);
     this.relationPOKEMON_FORME_PRIMAIRE = new global::System.Data.DataRelation("POKEMON_FORME_PRIMAIRE", new global::System.Data.DataColumn[] {
                 this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableFORME_PRIMAIRE.POKEMON_IdColumn}, false);
     this.relationPOKEMON_FORME_PRIMAIRE.Nested = true;
     this.Relations.Add(this.relationPOKEMON_FORME_PRIMAIRE);
 }
 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);
 }
 private void InitClass() {
     this.DataSetName = "PALLETS";
     this.Prefix = "";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tablePALLET = new PALLETDataTable();
     base.Tables.Add(this.tablePALLET);
     this.tableUDF_HEADER = new UDF_HEADERDataTable();
     base.Tables.Add(this.tableUDF_HEADER);
     this.tableUDF_DETAIL = new UDF_DETAILDataTable();
     base.Tables.Add(this.tableUDF_DETAIL);
     this.tableUDF_PALLET = new UDF_PALLETDataTable();
     base.Tables.Add(this.tableUDF_PALLET);
     this.tableLABEL_INSTR_HEAD = new LABEL_INSTR_HEADDataTable();
     base.Tables.Add(this.tableLABEL_INSTR_HEAD);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("PALLET_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.PALLET_Id_0Column});
     this.tableUDF_HEADER.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("PALLET_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.PALLET_Id_0Column});
     this.tableUDF_DETAIL.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("PALLET_UDF_PALLET", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_PALLET.PALLET_Id_0Column});
     this.tableUDF_PALLET.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("PALLET_LABEL_INSTR_HEAD", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableLABEL_INSTR_HEAD.PALLET_Id_0Column});
     this.tableLABEL_INSTR_HEAD.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.relationPALLET_UDF_HEADER = new global::System.Data.DataRelation("PALLET_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.PALLET_Id_0Column}, false);
     this.relationPALLET_UDF_HEADER.Nested = true;
     this.Relations.Add(this.relationPALLET_UDF_HEADER);
     this.relationPALLET_UDF_DETAIL = new global::System.Data.DataRelation("PALLET_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.PALLET_Id_0Column}, false);
     this.relationPALLET_UDF_DETAIL.Nested = true;
     this.Relations.Add(this.relationPALLET_UDF_DETAIL);
     this.relationPALLET_UDF_PALLET = new global::System.Data.DataRelation("PALLET_UDF_PALLET", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_PALLET.PALLET_Id_0Column}, false);
     this.relationPALLET_UDF_PALLET.Nested = true;
     this.Relations.Add(this.relationPALLET_UDF_PALLET);
     this.relationPALLET_LABEL_INSTR_HEAD = new global::System.Data.DataRelation("PALLET_LABEL_INSTR_HEAD", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableLABEL_INSTR_HEAD.PALLET_Id_0Column}, false);
     this.relationPALLET_LABEL_INSTR_HEAD.Nested = true;
     this.Relations.Add(this.relationPALLET_LABEL_INSTR_HEAD);
 }
Esempio n. 32
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. 33
0
 private void InitClass() {
     this.DataSetName = "NewDataSet";
     this.Prefix = "";
     this.Locale = new global::System.Globalization.CultureInfo("");
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableTRUCK = new TRUCKDataTable();
     base.Tables.Add(this.tableTRUCK);
     this.tableFORWARDER = new FORWARDERDataTable();
     base.Tables.Add(this.tableFORWARDER);
     this.tableUDF_HEADER = new UDF_HEADERDataTable();
     base.Tables.Add(this.tableUDF_HEADER);
     this.tableUDF_DETAIL = new UDF_DETAILDataTable();
     base.Tables.Add(this.tableUDF_DETAIL);
     this.tablePALLET = new PALLETDataTable();
     base.Tables.Add(this.tablePALLET);
     this.tableUDF_PALLET = new UDF_PALLETDataTable();
     base.Tables.Add(this.tableUDF_PALLET);
     this.tableBOXES = new BOXESDataTable();
     base.Tables.Add(this.tableBOXES);
     this.tableUDF_BOX = new UDF_BOXDataTable();
     base.Tables.Add(this.tableUDF_BOX);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("TRUCK_FORWARDER", new global::System.Data.DataColumn[] {
                 this.tableTRUCK.TRUCK_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableFORWARDER.TRUCK_Id_0Column});
     this.tableFORWARDER.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("FORWARDER_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tableFORWARDER.FORWARDER_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.FORWARDER_IdColumn});
     this.tableUDF_HEADER.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("FORWARDER_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableFORWARDER.FORWARDER_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.FORWARDER_IdColumn});
     this.tableUDF_DETAIL.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("FORWARDER_PALLET", new global::System.Data.DataColumn[] {
                 this.tableFORWARDER.FORWARDER_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePALLET.FORWARDER_IdColumn});
     this.tablePALLET.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("PALLET_UDF_PALLET", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_PALLET.PALLET_Id_0Column});
     this.tableUDF_PALLET.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("PALLET_BOXES", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableBOXES.PALLET_Id_0Column});
     this.tableBOXES.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("BOXES_UDF_BOX", new global::System.Data.DataColumn[] {
                 this.tableBOXES.BOXES_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableUDF_BOX.BOXES_IdColumn});
     this.tableUDF_BOX.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.relationTRUCK_FORWARDER = new global::System.Data.DataRelation("TRUCK_FORWARDER", new global::System.Data.DataColumn[] {
                 this.tableTRUCK.TRUCK_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableFORWARDER.TRUCK_Id_0Column}, false);
     this.relationTRUCK_FORWARDER.Nested = true;
     this.Relations.Add(this.relationTRUCK_FORWARDER);
     this.relationFORWARDER_UDF_HEADER = new global::System.Data.DataRelation("FORWARDER_UDF_HEADER", new global::System.Data.DataColumn[] {
                 this.tableFORWARDER.FORWARDER_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableUDF_HEADER.FORWARDER_IdColumn}, false);
     this.relationFORWARDER_UDF_HEADER.Nested = true;
     this.Relations.Add(this.relationFORWARDER_UDF_HEADER);
     this.relationFORWARDER_UDF_DETAIL = new global::System.Data.DataRelation("FORWARDER_UDF_DETAIL", new global::System.Data.DataColumn[] {
                 this.tableFORWARDER.FORWARDER_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableUDF_DETAIL.FORWARDER_IdColumn}, false);
     this.relationFORWARDER_UDF_DETAIL.Nested = true;
     this.Relations.Add(this.relationFORWARDER_UDF_DETAIL);
     this.relationFORWARDER_PALLET = new global::System.Data.DataRelation("FORWARDER_PALLET", new global::System.Data.DataColumn[] {
                 this.tableFORWARDER.FORWARDER_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePALLET.FORWARDER_IdColumn}, false);
     this.relationFORWARDER_PALLET.Nested = true;
     this.Relations.Add(this.relationFORWARDER_PALLET);
     this.relationPALLET_UDF_PALLET = new global::System.Data.DataRelation("PALLET_UDF_PALLET", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableUDF_PALLET.PALLET_Id_0Column}, false);
     this.relationPALLET_UDF_PALLET.Nested = true;
     this.Relations.Add(this.relationPALLET_UDF_PALLET);
     this.relationPALLET_BOXES = new global::System.Data.DataRelation("PALLET_BOXES", new global::System.Data.DataColumn[] {
                 this.tablePALLET.PALLET_Id_0Column}, new global::System.Data.DataColumn[] {
                 this.tableBOXES.PALLET_Id_0Column}, false);
     this.relationPALLET_BOXES.Nested = true;
     this.Relations.Add(this.relationPALLET_BOXES);
     this.relationBOXES_UDF_BOX = new global::System.Data.DataRelation("BOXES_UDF_BOX", new global::System.Data.DataColumn[] {
                 this.tableBOXES.BOXES_IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableUDF_BOX.BOXES_IdColumn}, false);
     this.relationBOXES_UDF_BOX.Nested = true;
     this.Relations.Add(this.relationBOXES_UDF_BOX);
 }