Ejemplo n.º 1
0
 internal TRUCKRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableTRUCK = ((TRUCKDataTable)(this.Table));
 }
Ejemplo n.º 2
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);
 }
Ejemplo n.º 3
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"];
 }