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; }
public void AddToEngineLeaseOrders(EngineLeaseOrderDTO engineLeaseOrderDTO) { base.AddObject("EngineLeaseOrders", engineLeaseOrderDTO); }