Пример #1
0
 public ContBundleTblRow AddContBundleTblRow(
             int ContainerBundleID, 
             ContainerTblRow parentContainerTblRowBytblContainertblContPOItem2, 
             POItemTblRow parentPOItemTblRowBytblPOItem2tblContPOItem2, 
             int BundleSeqNumber, 
             decimal EnglishShipQty, 
             string InvoiceNumber, 
             string Heat, 
             decimal MetricShipQty, 
             string BayNumber, 
             System.DateTime PickupDate, 
             string PickupTerminal, 
             string ProofOfDelivery, 
             string EMInvoiceNumber, 
             int AuxKey1, 
             int AuxKey2, 
             System.DateTime MillInvoiceDate, 
             decimal BundleAlloySurcharge, 
             decimal BundleScrapSurcharge) {
     ContBundleTblRow rowContBundleTblRow = ((ContBundleTblRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             ContainerBundleID,
             null,
             null,
             BundleSeqNumber,
             EnglishShipQty,
             InvoiceNumber,
             Heat,
             MetricShipQty,
             BayNumber,
             PickupDate,
             PickupTerminal,
             ProofOfDelivery,
             EMInvoiceNumber,
             AuxKey1,
             AuxKey2,
             MillInvoiceDate,
             BundleAlloySurcharge,
             BundleScrapSurcharge};
     if ((parentContainerTblRowBytblContainertblContPOItem2 != null)) {
         columnValuesArray[1] = parentContainerTblRowBytblContainertblContPOItem2[0];
     }
     if ((parentPOItemTblRowBytblPOItem2tblContPOItem2 != null)) {
         columnValuesArray[2] = parentPOItemTblRowBytblPOItem2tblContPOItem2[0];
     }
     rowContBundleTblRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowContBundleTblRow);
     return rowContBundleTblRow;
 }
Пример #2
0
 public void AddContainerTblRow(ContainerTblRow row) {
     this.Rows.Add(row);
 }
Пример #3
0
 public void RemoveContainerTblRow(ContainerTblRow row) {
     this.Rows.Remove(row);
 }
Пример #4
0
 public ContainerTblRowChangeEvent(ContainerTblRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }