public void AddToMaintainPaymentSchedules(MaintainPaymentScheduleDTO maintainPaymentScheduleDTO) { base.AddObject("MaintainPaymentSchedules", maintainPaymentScheduleDTO); }
public static MaintainPaymentScheduleDTO CreateMaintainPaymentScheduleDTO(int maintainPaymentScheduleId, global::System.DateTime createDate, bool isCompleted, int currencyId, int supplierId, global::System.Collections.ObjectModel.ObservableCollection<PaymentScheduleLineDTO> paymentScheduleLines) { MaintainPaymentScheduleDTO maintainPaymentScheduleDTO = new MaintainPaymentScheduleDTO(); maintainPaymentScheduleDTO.MaintainPaymentScheduleId = maintainPaymentScheduleId; maintainPaymentScheduleDTO.CreateDate = createDate; maintainPaymentScheduleDTO.IsCompleted = isCompleted; maintainPaymentScheduleDTO.CurrencyId = currencyId; maintainPaymentScheduleDTO.SupplierId = supplierId; if ((paymentScheduleLines == null)) { throw new global::System.ArgumentNullException("paymentScheduleLines"); } maintainPaymentScheduleDTO.PaymentScheduleLines = paymentScheduleLines; return maintainPaymentScheduleDTO; }