예제 #1
0
파일: Reference.cs 프로젝트: unicloud/FRP
 public static PaymentNoticeDTO CreatePaymentNoticeDTO(int paymentNoticeId, global::System.DateTime createDate, global::System.DateTime deadLine, int status, bool isComplete, global::System.Collections.ObjectModel.ObservableCollection<PaymentNoticeLineDTO> paymentNoticeLines, int currencyId, int supplierId, int bankAccountId)
 {
     PaymentNoticeDTO paymentNoticeDTO = new PaymentNoticeDTO();
     paymentNoticeDTO.PaymentNoticeId = paymentNoticeId;
     paymentNoticeDTO.CreateDate = createDate;
     paymentNoticeDTO.DeadLine = deadLine;
     paymentNoticeDTO.Status = status;
     paymentNoticeDTO.IsComplete = isComplete;
     if ((paymentNoticeLines == null))
     {
         throw new global::System.ArgumentNullException("paymentNoticeLines");
     }
     paymentNoticeDTO.PaymentNoticeLines = paymentNoticeLines;
     paymentNoticeDTO.CurrencyId = currencyId;
     paymentNoticeDTO.SupplierId = supplierId;
     paymentNoticeDTO.BankAccountId = bankAccountId;
     return paymentNoticeDTO;
 }
예제 #2
0
파일: Reference.cs 프로젝트: unicloud/FRP
 public void AddToPaymentNotices(PaymentNoticeDTO paymentNoticeDTO)
 {
     base.AddObject("PaymentNotices", paymentNoticeDTO);
 }