Пример #1
0
 public void RemoveReceiptMasterRow(ReceiptMasterRow row) {
     this.Rows.Remove(row);
 }
Пример #2
0
 public void AddReceiptMasterRow(ReceiptMasterRow row) {
     this.Rows.Add(row);
 }
Пример #3
0
 public ReceiptMasterRowChangeEvent(ReceiptMasterRow row, System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Пример #4
0
 public ReceiptDetailRow AddReceiptDetailRow(
             ReceiptMasterRow parentReceiptMasterRowByFK_ReceiptDetail_ReceiptMaster, 
             ProductRow parentProductRowByProduct_ReceiptDetail, 
             string Series, 
             System.DateTime UseByDate, 
             decimal Quantity, 
             decimal PricePurchase, 
             decimal PurchSum, 
             decimal PurchNDS, 
             decimal SalesNDS, 
             decimal SalesPrice, 
             decimal SalesSum, 
             string Note, 
             string AuthorCreate, 
             string AuthorLastModif, 
             System.DateTime DateLastModif, 
             System.DateTime DateCreate, 
             byte[] RowVersion, 
             int ManufacturerRef, 
             decimal Extra, 
             int DocumentTypeRef, 
             string ProductName, 
             string ManufacturerName, 
             string CountryName) {
     ReceiptDetailRow rowReceiptDetailRow = ((ReceiptDetailRow)(this.NewRow()));
     rowReceiptDetailRow.ItemArray = new object[] {
             null,
             parentReceiptMasterRowByFK_ReceiptDetail_ReceiptMaster[0],
             parentProductRowByProduct_ReceiptDetail[0],
             Series,
             UseByDate,
             Quantity,
             PricePurchase,
             PurchSum,
             PurchNDS,
             SalesNDS,
             SalesPrice,
             SalesSum,
             Note,
             AuthorCreate,
             AuthorLastModif,
             DateLastModif,
             DateCreate,
             RowVersion,
             ManufacturerRef,
             Extra,
             DocumentTypeRef,
             ProductName,
             ManufacturerName,
             CountryName};
     this.Rows.Add(rowReceiptDetailRow);
     return rowReceiptDetailRow;
 }
Пример #5
0
 public ReceiptDetailRow AddReceiptDetailRow(
             ReceiptMasterRow parentReceiptMasterRowByReceiptMaster_ReceiptDetail, 
             ProductRow parentProductRowByProduct_ReceiptDetail, 
             string Series, 
             System.DateTime UseByDate, 
             decimal Quantity, 
             decimal PricePurchase, 
             decimal PurchSum, 
             decimal PurchNDS, 
             decimal SalesNDS, 
             decimal SalesPrice, 
             decimal SalesSum, 
             int InvoiceDetailRef, 
             string AuthorCreate, 
             string AuthorLastModif, 
             System.DateTime DateCreate, 
             byte[] RowVersion, 
             string Note, 
             System.DateTime DateLastModif, 
             decimal CalcPurchSum, 
             int OrganisationRef, 
             string ProductName, 
             string ManufacturerName, 
             string DocumentTypeRef, 
             ManufacturerRow parentManufacturerRowByFK_Manufacturer_ReceiptDetail) {
     ReceiptDetailRow rowReceiptDetailRow = ((ReceiptDetailRow)(this.NewRow()));
     rowReceiptDetailRow.ItemArray = new object[] {
             null,
             parentReceiptMasterRowByReceiptMaster_ReceiptDetail[0],
             parentProductRowByProduct_ReceiptDetail[0],
             Series,
             UseByDate,
             Quantity,
             PricePurchase,
             PurchSum,
             PurchNDS,
             SalesNDS,
             SalesPrice,
             SalesSum,
             InvoiceDetailRef,
             AuthorCreate,
             AuthorLastModif,
             DateCreate,
             RowVersion,
             Note,
             DateLastModif,
             CalcPurchSum,
             OrganisationRef,
             ProductName,
             ManufacturerName,
             DocumentTypeRef,
             parentManufacturerRowByFK_Manufacturer_ReceiptDetail[0]};
     this.Rows.Add(rowReceiptDetailRow);
     return rowReceiptDetailRow;
 }