コード例 #1
0
ファイル: Reference.cs プロジェクト: unicloud/FRP
 public static SundryInvoiceDTO CreateSundryInvoiceDTO(int sundryInvoiceId, global::System.DateTime invoiceDate, decimal invoiceValue, decimal paidAmount, global::System.DateTime createDate, bool isValid, bool isCompleted, int status, int supplierId, int currencyId, global::System.Collections.ObjectModel.ObservableCollection<InvoiceLineDTO> invoiceLines)
 {
     SundryInvoiceDTO sundryInvoiceDTO = new SundryInvoiceDTO();
     sundryInvoiceDTO.SundryInvoiceId = sundryInvoiceId;
     sundryInvoiceDTO.InvoiceDate = invoiceDate;
     sundryInvoiceDTO.InvoiceValue = invoiceValue;
     sundryInvoiceDTO.PaidAmount = paidAmount;
     sundryInvoiceDTO.CreateDate = createDate;
     sundryInvoiceDTO.IsValid = isValid;
     sundryInvoiceDTO.IsCompleted = isCompleted;
     sundryInvoiceDTO.Status = status;
     sundryInvoiceDTO.SupplierId = supplierId;
     sundryInvoiceDTO.CurrencyId = currencyId;
     if ((invoiceLines == null))
     {
         throw new global::System.ArgumentNullException("invoiceLines");
     }
     sundryInvoiceDTO.InvoiceLines = invoiceLines;
     return sundryInvoiceDTO;
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: unicloud/FRP
 public void AddToSundryInvoices(SundryInvoiceDTO sundryInvoiceDTO)
 {
     base.AddObject("SundryInvoices", sundryInvoiceDTO);
 }