Exemple #1
0
 public static EngineLeaseReceptionDTO CreateEngineLeaseReceptionDTO(int engineLeaseReceptionId, global::System.DateTime startDate, global::System.DateTime createDate, bool isClosed, global::System.Guid sourceId, int status, int supplierId, global::System.Collections.ObjectModel.ObservableCollection<EngineLeaseReceptionLineDTO> receptionLines, global::System.Collections.ObjectModel.ObservableCollection<ReceptionScheduleDTO> receptionSchedules)
 {
     EngineLeaseReceptionDTO engineLeaseReceptionDTO = new EngineLeaseReceptionDTO();
     engineLeaseReceptionDTO.EngineLeaseReceptionId = engineLeaseReceptionId;
     engineLeaseReceptionDTO.StartDate = startDate;
     engineLeaseReceptionDTO.CreateDate = createDate;
     engineLeaseReceptionDTO.IsClosed = isClosed;
     engineLeaseReceptionDTO.SourceId = sourceId;
     engineLeaseReceptionDTO.Status = status;
     engineLeaseReceptionDTO.SupplierId = supplierId;
     if ((receptionLines == null))
     {
         throw new global::System.ArgumentNullException("receptionLines");
     }
     engineLeaseReceptionDTO.ReceptionLines = receptionLines;
     if ((receptionSchedules == null))
     {
         throw new global::System.ArgumentNullException("receptionSchedules");
     }
     engineLeaseReceptionDTO.ReceptionSchedules = receptionSchedules;
     return engineLeaseReceptionDTO;
 }
Exemple #2
0
 public void AddToEngineLeaseReceptions(EngineLeaseReceptionDTO engineLeaseReceptionDTO)
 {
     base.AddObject("EngineLeaseReceptions", engineLeaseReceptionDTO);
 }