Пример #1
0
 public void AddToAircraftLeaseReceptions(AircraftLeaseReceptionDTO aircraftLeaseReceptionDTO)
 {
     base.AddObject("AircraftLeaseReceptions", aircraftLeaseReceptionDTO);
 }
Пример #2
0
 public static AircraftLeaseReceptionDTO CreateAircraftLeaseReceptionDTO(int aircraftLeaseReceptionId, global::System.DateTime startDate, global::System.DateTime createDate, bool isClosed, global::System.Guid sourceId, int status, int supplierId, global::System.Collections.ObjectModel.ObservableCollection<AircraftLeaseReceptionLineDTO> receptionLines, global::System.Collections.ObjectModel.ObservableCollection<ReceptionScheduleDTO> receptionSchedules)
 {
     AircraftLeaseReceptionDTO aircraftLeaseReceptionDTO = new AircraftLeaseReceptionDTO();
     aircraftLeaseReceptionDTO.AircraftLeaseReceptionId = aircraftLeaseReceptionId;
     aircraftLeaseReceptionDTO.StartDate = startDate;
     aircraftLeaseReceptionDTO.CreateDate = createDate;
     aircraftLeaseReceptionDTO.IsClosed = isClosed;
     aircraftLeaseReceptionDTO.SourceId = sourceId;
     aircraftLeaseReceptionDTO.Status = status;
     aircraftLeaseReceptionDTO.SupplierId = supplierId;
     if ((receptionLines == null))
     {
         throw new global::System.ArgumentNullException("receptionLines");
     }
     aircraftLeaseReceptionDTO.ReceptionLines = receptionLines;
     if ((receptionSchedules == null))
     {
         throw new global::System.ArgumentNullException("receptionSchedules");
     }
     aircraftLeaseReceptionDTO.ReceptionSchedules = receptionSchedules;
     return aircraftLeaseReceptionDTO;
 }