示例#1
0
文件: Reference.cs 项目: unicloud/FRP
 public static EngineLeaseOrderDTO CreateEngineLeaseOrderDTO(int ID, int tradeId, int version, int currencyId, int linkmanId, global::System.DateTime orderDate, int status, int supplierId, global::System.Collections.ObjectModel.ObservableCollection<EngineLeaseOrderLineDTO> engineLeaseOrderLines)
 {
     EngineLeaseOrderDTO engineLeaseOrderDTO = new EngineLeaseOrderDTO();
     engineLeaseOrderDTO.Id = ID;
     engineLeaseOrderDTO.TradeId = tradeId;
     engineLeaseOrderDTO.Version = version;
     engineLeaseOrderDTO.CurrencyId = currencyId;
     engineLeaseOrderDTO.LinkmanId = linkmanId;
     engineLeaseOrderDTO.OrderDate = orderDate;
     engineLeaseOrderDTO.Status = status;
     engineLeaseOrderDTO.SupplierId = supplierId;
     if ((engineLeaseOrderLines == null))
     {
         throw new global::System.ArgumentNullException("engineLeaseOrderLines");
     }
     engineLeaseOrderDTO.EngineLeaseOrderLines = engineLeaseOrderLines;
     return engineLeaseOrderDTO;
 }
示例#2
0
文件: Reference.cs 项目: unicloud/FRP
 public void AddToEngineLeaseOrders(EngineLeaseOrderDTO engineLeaseOrderDTO)
 {
     base.AddObject("EngineLeaseOrders", engineLeaseOrderDTO);
 }