示例#1
0
文件: Reference.cs 项目: unicloud/FRP
 public static AircraftPurchaseReceptionDTO CreateAircraftPurchaseReceptionDTO(int aircraftPurchaseReceptionId, global::System.DateTime startDate, global::System.DateTime createDate, bool isClosed, global::System.Guid sourceId, int status, int supplierId, global::System.Collections.ObjectModel.ObservableCollection<AircraftPurchaseReceptionLineDTO> receptionLines, global::System.Collections.ObjectModel.ObservableCollection<ReceptionScheduleDTO> receptionSchedules)
 {
     AircraftPurchaseReceptionDTO aircraftPurchaseReceptionDTO = new AircraftPurchaseReceptionDTO();
     aircraftPurchaseReceptionDTO.AircraftPurchaseReceptionId = aircraftPurchaseReceptionId;
     aircraftPurchaseReceptionDTO.StartDate = startDate;
     aircraftPurchaseReceptionDTO.CreateDate = createDate;
     aircraftPurchaseReceptionDTO.IsClosed = isClosed;
     aircraftPurchaseReceptionDTO.SourceId = sourceId;
     aircraftPurchaseReceptionDTO.Status = status;
     aircraftPurchaseReceptionDTO.SupplierId = supplierId;
     if ((receptionLines == null))
     {
         throw new global::System.ArgumentNullException("receptionLines");
     }
     aircraftPurchaseReceptionDTO.ReceptionLines = receptionLines;
     if ((receptionSchedules == null))
     {
         throw new global::System.ArgumentNullException("receptionSchedules");
     }
     aircraftPurchaseReceptionDTO.ReceptionSchedules = receptionSchedules;
     return aircraftPurchaseReceptionDTO;
 }
示例#2
0
文件: Reference.cs 项目: unicloud/FRP
 public void AddToAircraftPurchaseReceptions(AircraftPurchaseReceptionDTO aircraftPurchaseReceptionDTO)
 {
     base.AddObject("AircraftPurchaseReceptions", aircraftPurchaseReceptionDTO);
 }