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