public void AddToMaintainPrepaymentInvoices(MaintainPrepaymentInvoiceDTO maintainPrepaymentInvoiceDTO) { base.AddObject("MaintainPrepaymentInvoices", maintainPrepaymentInvoiceDTO); }
public static MaintainPrepaymentInvoiceDTO CreateMaintainPrepaymentInvoiceDTO(int prepaymentInvoiceId, global::System.DateTime invoiceDate, decimal invoiceValue, decimal paidAmount, global::System.DateTime createDate, bool isValid, bool isCompleted, int status, int orderId, int supplierId, int currencyId, global::System.Collections.ObjectModel.ObservableCollection<InvoiceLineDTO> invoiceLines) { MaintainPrepaymentInvoiceDTO maintainPrepaymentInvoiceDTO = new MaintainPrepaymentInvoiceDTO(); maintainPrepaymentInvoiceDTO.PrepaymentInvoiceId = prepaymentInvoiceId; maintainPrepaymentInvoiceDTO.InvoiceDate = invoiceDate; maintainPrepaymentInvoiceDTO.InvoiceValue = invoiceValue; maintainPrepaymentInvoiceDTO.PaidAmount = paidAmount; maintainPrepaymentInvoiceDTO.CreateDate = createDate; maintainPrepaymentInvoiceDTO.IsValid = isValid; maintainPrepaymentInvoiceDTO.IsCompleted = isCompleted; maintainPrepaymentInvoiceDTO.Status = status; maintainPrepaymentInvoiceDTO.OrderId = orderId; maintainPrepaymentInvoiceDTO.SupplierId = supplierId; maintainPrepaymentInvoiceDTO.CurrencyId = currencyId; if ((invoiceLines == null)) { throw new global::System.ArgumentNullException("invoiceLines"); } maintainPrepaymentInvoiceDTO.InvoiceLines = invoiceLines; return maintainPrepaymentInvoiceDTO; }