internal PALLETRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tablePALLET = ((PALLETDataTable)(this.Table));
 }
 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);
 }
 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);
 }
 internal void InitVars(bool initTable) {
     this.tablePALLET = ((PALLETDataTable)(base.Tables["PALLET"]));
     if ((initTable == true)) {
         if ((this.tablePALLET != null)) {
             this.tablePALLET.InitVars();
         }
     }
     this.tableUDF_HEADER = ((UDF_HEADERDataTable)(base.Tables["UDF_HEADER"]));
     if ((initTable == true)) {
         if ((this.tableUDF_HEADER != null)) {
             this.tableUDF_HEADER.InitVars();
         }
     }
     this.tableUDF_DETAIL = ((UDF_DETAILDataTable)(base.Tables["UDF_DETAIL"]));
     if ((initTable == true)) {
         if ((this.tableUDF_DETAIL != null)) {
             this.tableUDF_DETAIL.InitVars();
         }
     }
     this.tableUDF_PALLET = ((UDF_PALLETDataTable)(base.Tables["UDF_PALLET"]));
     if ((initTable == true)) {
         if ((this.tableUDF_PALLET != null)) {
             this.tableUDF_PALLET.InitVars();
         }
     }
     this.tableLABEL_INSTR_HEAD = ((LABEL_INSTR_HEADDataTable)(base.Tables["LABEL_INSTR_HEAD"]));
     if ((initTable == true)) {
         if ((this.tableLABEL_INSTR_HEAD != null)) {
             this.tableLABEL_INSTR_HEAD.InitVars();
         }
     }
     this.relationPALLET_UDF_HEADER = this.Relations["PALLET_UDF_HEADER"];
     this.relationPALLET_UDF_DETAIL = this.Relations["PALLET_UDF_DETAIL"];
     this.relationPALLET_UDF_PALLET = this.Relations["PALLET_UDF_PALLET"];
     this.relationPALLET_LABEL_INSTR_HEAD = this.Relations["PALLET_LABEL_INSTR_HEAD"];
 }
 internal void InitVars(bool initTable) {
     this.tableMASTER_WAYBILL = ((MASTER_WAYBILLDataTable)(base.Tables["MASTER_WAYBILL"]));
     if ((initTable == true)) {
         if ((this.tableMASTER_WAYBILL != null)) {
             this.tableMASTER_WAYBILL.InitVars();
         }
     }
     this.tableHOUSE_WAYBILL = ((HOUSE_WAYBILLDataTable)(base.Tables["HOUSE_WAYBILL"]));
     if ((initTable == true)) {
         if ((this.tableHOUSE_WAYBILL != null)) {
             this.tableHOUSE_WAYBILL.InitVars();
         }
     }
     this.tablePALLET = ((PALLETDataTable)(base.Tables["PALLET"]));
     if ((initTable == true)) {
         if ((this.tablePALLET != null)) {
             this.tablePALLET.InitVars();
         }
     }
     this.tableUDF_PALLET = ((UDF_PALLETDataTable)(base.Tables["UDF_PALLET"]));
     if ((initTable == true)) {
         if ((this.tableUDF_PALLET != null)) {
             this.tableUDF_PALLET.InitVars();
         }
     }
     this.tableBOX = ((BOXDataTable)(base.Tables["BOX"]));
     if ((initTable == true)) {
         if ((this.tableBOX != null)) {
             this.tableBOX.InitVars();
         }
     }
     this.tableSERIAL_NUM = ((SERIAL_NUMDataTable)(base.Tables["SERIAL_NUM"]));
     if ((initTable == true)) {
         if ((this.tableSERIAL_NUM != null)) {
             this.tableSERIAL_NUM.InitVars();
         }
     }
     this.tableUDF_HEADER = ((UDF_HEADERDataTable)(base.Tables["UDF_HEADER"]));
     if ((initTable == true)) {
         if ((this.tableUDF_HEADER != null)) {
             this.tableUDF_HEADER.InitVars();
         }
     }
     this.tableUDF_DETAIL = ((UDF_DETAILDataTable)(base.Tables["UDF_DETAIL"]));
     if ((initTable == true)) {
         if ((this.tableUDF_DETAIL != null)) {
             this.tableUDF_DETAIL.InitVars();
         }
     }
     this.tableUDF_BOX = ((UDF_BOXDataTable)(base.Tables["UDF_BOX"]));
     if ((initTable == true)) {
         if ((this.tableUDF_BOX != null)) {
             this.tableUDF_BOX.InitVars();
         }
     }
     this.relationMASTER_WAYBILL_HOUSE_WAYBILL = this.Relations["MASTER_WAYBILL_HOUSE_WAYBILL"];
     this.relationHOUSE_WAYBILL_PALLET = this.Relations["HOUSE_WAYBILL_PALLET"];
     this.relationPALLET_UDF_PALLET = this.Relations["PALLET_UDF_PALLET"];
     this.relationPALLET_BOX = this.Relations["PALLET_BOX"];
     this.relationBOX_SERIAL_NUM = this.Relations["BOX_SERIAL_NUM"];
     this.relationBOX_UDF_HEADER = this.Relations["BOX_UDF_HEADER"];
     this.relationBOX_UDF_DETAIL = this.Relations["BOX_UDF_DETAIL"];
     this.relationBOX_UDF_BOX = this.Relations["BOX_UDF_BOX"];
 }
Esempio n. 6
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);
 }
Esempio n. 7
0
 internal void InitVars(bool initTable) {
     this.tableTRUCK = ((TRUCKDataTable)(base.Tables["TRUCK"]));
     if ((initTable == true)) {
         if ((this.tableTRUCK != null)) {
             this.tableTRUCK.InitVars();
         }
     }
     this.tableFORWARDER = ((FORWARDERDataTable)(base.Tables["FORWARDER"]));
     if ((initTable == true)) {
         if ((this.tableFORWARDER != null)) {
             this.tableFORWARDER.InitVars();
         }
     }
     this.tableUDF_HEADER = ((UDF_HEADERDataTable)(base.Tables["UDF_HEADER"]));
     if ((initTable == true)) {
         if ((this.tableUDF_HEADER != null)) {
             this.tableUDF_HEADER.InitVars();
         }
     }
     this.tableUDF_DETAIL = ((UDF_DETAILDataTable)(base.Tables["UDF_DETAIL"]));
     if ((initTable == true)) {
         if ((this.tableUDF_DETAIL != null)) {
             this.tableUDF_DETAIL.InitVars();
         }
     }
     this.tablePALLET = ((PALLETDataTable)(base.Tables["PALLET"]));
     if ((initTable == true)) {
         if ((this.tablePALLET != null)) {
             this.tablePALLET.InitVars();
         }
     }
     this.tableUDF_PALLET = ((UDF_PALLETDataTable)(base.Tables["UDF_PALLET"]));
     if ((initTable == true)) {
         if ((this.tableUDF_PALLET != null)) {
             this.tableUDF_PALLET.InitVars();
         }
     }
     this.tableBOXES = ((BOXESDataTable)(base.Tables["BOXES"]));
     if ((initTable == true)) {
         if ((this.tableBOXES != null)) {
             this.tableBOXES.InitVars();
         }
     }
     this.tableUDF_BOX = ((UDF_BOXDataTable)(base.Tables["UDF_BOX"]));
     if ((initTable == true)) {
         if ((this.tableUDF_BOX != null)) {
             this.tableUDF_BOX.InitVars();
         }
     }
     this.relationTRUCK_FORWARDER = this.Relations["TRUCK_FORWARDER"];
     this.relationFORWARDER_UDF_HEADER = this.Relations["FORWARDER_UDF_HEADER"];
     this.relationFORWARDER_UDF_DETAIL = this.Relations["FORWARDER_UDF_DETAIL"];
     this.relationFORWARDER_PALLET = this.Relations["FORWARDER_PALLET"];
     this.relationPALLET_UDF_PALLET = this.Relations["PALLET_UDF_PALLET"];
     this.relationPALLET_BOXES = this.Relations["PALLET_BOXES"];
     this.relationBOXES_UDF_BOX = this.Relations["BOXES_UDF_BOX"];
 }
 internal void InitVars(bool initTable) {
     this.tablePALLET = ((PALLETDataTable)(base.Tables["PALLET"]));
     if ((initTable == true)) {
         if ((this.tablePALLET != null)) {
             this.tablePALLET.InitVars();
         }
     }
     this.tableUDF_PALLET = ((UDF_PALLETDataTable)(base.Tables["UDF_PALLET"]));
     if ((initTable == true)) {
         if ((this.tableUDF_PALLET != null)) {
             this.tableUDF_PALLET.InitVars();
         }
     }
     this.tableUDF_HEADER = ((UDF_HEADERDataTable)(base.Tables["UDF_HEADER"]));
     if ((initTable == true)) {
         if ((this.tableUDF_HEADER != null)) {
             this.tableUDF_HEADER.InitVars();
         }
     }
     this.tableUDF_DETAIL = ((UDF_DETAILDataTable)(base.Tables["UDF_DETAIL"]));
     if ((initTable == true)) {
         if ((this.tableUDF_DETAIL != null)) {
             this.tableUDF_DETAIL.InitVars();
         }
     }
     this.tableBOX = ((BOXDataTable)(base.Tables["BOX"]));
     if ((initTable == true)) {
         if ((this.tableBOX != null)) {
             this.tableBOX.InitVars();
         }
     }
     this.tableSERIAL_NUM = ((SERIAL_NUMDataTable)(base.Tables["SERIAL_NUM"]));
     if ((initTable == true)) {
         if ((this.tableSERIAL_NUM != null)) {
             this.tableSERIAL_NUM.InitVars();
         }
     }
     this.tablePACK_ID = ((PACK_IDDataTable)(base.Tables["PACK_ID"]));
     if ((initTable == true)) {
         if ((this.tablePACK_ID != null)) {
             this.tablePACK_ID.InitVars();
         }
     }
     this.tableHP_SO = ((HP_SODataTable)(base.Tables["HP_SO"]));
     if ((initTable == true)) {
         if ((this.tableHP_SO != null)) {
             this.tableHP_SO.InitVars();
         }
     }
     this.tableUDF_BOX = ((UDF_BOXDataTable)(base.Tables["UDF_BOX"]));
     if ((initTable == true)) {
         if ((this.tableUDF_BOX != null)) {
             this.tableUDF_BOX.InitVars();
         }
     }
     this.relationPALLET_UDF_PALLET = this.Relations["PALLET_UDF_PALLET"];
     this.relationPALLET_UDF_HEADER = this.Relations["PALLET_UDF_HEADER"];
     this.relationPALLET_UDF_DETAIL = this.Relations["PALLET_UDF_DETAIL"];
     this.relationPALLET_BOX = this.Relations["PALLET_BOX"];
     this.relationBOX_SERIAL_NUM = this.Relations["BOX_SERIAL_NUM"];
     this.relationBOX_PACK_ID = this.Relations["BOX_PACK_ID"];
     this.relationBOX_HP_SO = this.Relations["BOX_HP_SO"];
     this.relationBOX_UDF_BOX = this.Relations["BOX_UDF_BOX"];
 }
 internal void InitVars(bool initTable) {
     this.tablePALLET = ((PALLETDataTable)(base.Tables["PALLET"]));
     if ((initTable == true)) {
         if ((this.tablePALLET != null)) {
             this.tablePALLET.InitVars();
         }
     }
     this.tableLABEL_INSTR_HEAD = ((LABEL_INSTR_HEADDataTable)(base.Tables["LABEL_INSTR_HEAD"]));
     if ((initTable == true)) {
         if ((this.tableLABEL_INSTR_HEAD != null)) {
             this.tableLABEL_INSTR_HEAD.InitVars();
         }
     }
     this.tableUDF_PALLET = ((UDF_PALLETDataTable)(base.Tables["UDF_PALLET"]));
     if ((initTable == true)) {
         if ((this.tableUDF_PALLET != null)) {
             this.tableUDF_PALLET.InitVars();
         }
     }
     this.tablePACK_ID_LINE_ITEM = ((PACK_ID_LINE_ITEMDataTable)(base.Tables["PACK_ID_LINE_ITEM"]));
     if ((initTable == true)) {
         if ((this.tablePACK_ID_LINE_ITEM != null)) {
             this.tablePACK_ID_LINE_ITEM.InitVars();
         }
     }
     this.tableUDF_HEADER = ((UDF_HEADERDataTable)(base.Tables["UDF_HEADER"]));
     if ((initTable == true)) {
         if ((this.tableUDF_HEADER != null)) {
             this.tableUDF_HEADER.InitVars();
         }
     }
     this.tableUDF_DETAIL = ((UDF_DETAILDataTable)(base.Tables["UDF_DETAIL"]));
     if ((initTable == true)) {
         if ((this.tableUDF_DETAIL != null)) {
             this.tableUDF_DETAIL.InitVars();
         }
     }
     this.tableBOX = ((BOXDataTable)(base.Tables["BOX"]));
     if ((initTable == true)) {
         if ((this.tableBOX != null)) {
             this.tableBOX.InitVars();
         }
     }
     this.tableSERIAL_NUM = ((SERIAL_NUMDataTable)(base.Tables["SERIAL_NUM"]));
     if ((initTable == true)) {
         if ((this.tableSERIAL_NUM != null)) {
             this.tableSERIAL_NUM.InitVars();
         }
     }
     this.tableUDF_BOX = ((UDF_BOXDataTable)(base.Tables["UDF_BOX"]));
     if ((initTable == true)) {
         if ((this.tableUDF_BOX != null)) {
             this.tableUDF_BOX.InitVars();
         }
     }
     this.relationPALLET_LABEL_INSTR_HEAD = this.Relations["PALLET_LABEL_INSTR_HEAD"];
     this.relationPALLET_UDF_PALLET = this.Relations["PALLET_UDF_PALLET"];
     this.relationPALLET_PACK_ID_LINE_ITEM = this.Relations["PALLET_PACK_ID_LINE_ITEM"];
     this.relationPACK_ID_LINE_ITEM_UDF_HEADER = this.Relations["PACK_ID_LINE_ITEM_UDF_HEADER"];
     this.relationPACK_ID_LINE_ITEM_UDF_DETAIL = this.Relations["PACK_ID_LINE_ITEM_UDF_DETAIL"];
     this.relationPACK_ID_LINE_ITEM_BOX = this.Relations["PACK_ID_LINE_ITEM_BOX"];
     this.relationBOX_SERIAL_NUM = this.Relations["BOX_SERIAL_NUM"];
     this.relationBOX_UDF_BOX = this.Relations["BOX_UDF_BOX"];
 }