/// <summary> /// Deprecated Method for adding a new object to the OutboundOrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOutboundOrderDetails(OutboundOrderDetail outboundOrderDetail) { base.AddObject("OutboundOrderDetails", outboundOrderDetail); }
/// <summary> /// Create a new OutboundOrderDetail object. /// </summary> /// <param name="outboundOrderDetailID">Initial value of the OutboundOrderDetailID property.</param> /// <param name="outboundOrderID">Initial value of the OutboundOrderID property.</param> /// <param name="version">Initial value of the Version property.</param> /// <param name="toolID">Initial value of the ToolID property.</param> /// <param name="unitPrice">Initial value of the UnitPrice property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="outboundDate">Initial value of the OutboundDate property.</param> public static OutboundOrderDetail CreateOutboundOrderDetail(global::System.Int32 outboundOrderDetailID, global::System.Int32 outboundOrderID, global::System.Int32 version, global::System.Int32 toolID, global::System.Decimal unitPrice, global::System.Decimal quantity, global::System.DateTime outboundDate) { OutboundOrderDetail outboundOrderDetail = new OutboundOrderDetail(); outboundOrderDetail.OutboundOrderDetailID = outboundOrderDetailID; outboundOrderDetail.OutboundOrderID = outboundOrderID; outboundOrderDetail.Version = version; outboundOrderDetail.ToolID = toolID; outboundOrderDetail.UnitPrice = unitPrice; outboundOrderDetail.Quantity = quantity; outboundOrderDetail.OutboundDate = outboundDate; return outboundOrderDetail; }