Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InboundOrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInboundOrderDetails(InboundOrderDetail inboundOrderDetail)
 {
     base.AddObject("InboundOrderDetails", inboundOrderDetail);
 }
Example #2
0
 /// <summary>
 /// Create a new InboundOrderDetail object.
 /// </summary>
 /// <param name="inboundOrderDetailID">Initial value of the InboundOrderDetailID property.</param>
 /// <param name="inboundOrderID">Initial value of the InboundOrderID property.</param>
 /// <param name="inboundDate">Initial value of the InboundDate property.</param>
 /// <param name="outboundOrderDetailID">Initial value of the OutboundOrderDetailID property.</param>
 /// <param name="toolID">Initial value of the ToolID property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="prescrapQuantity">Initial value of the PrescrapQuantity property.</param>
 /// <param name="transferQuantity">Initial value of the TransferQuantity property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 public static InboundOrderDetail CreateInboundOrderDetail(global::System.Int32 inboundOrderDetailID, global::System.Int32 inboundOrderID, global::System.DateTime inboundDate, global::System.Int32 outboundOrderDetailID, global::System.Int32 toolID, global::System.Decimal quantity, global::System.Decimal prescrapQuantity, global::System.Decimal transferQuantity, global::System.Decimal unitPrice)
 {
     InboundOrderDetail inboundOrderDetail = new InboundOrderDetail();
     inboundOrderDetail.InboundOrderDetailID = inboundOrderDetailID;
     inboundOrderDetail.InboundOrderID = inboundOrderID;
     inboundOrderDetail.InboundDate = inboundDate;
     inboundOrderDetail.OutboundOrderDetailID = outboundOrderDetailID;
     inboundOrderDetail.ToolID = toolID;
     inboundOrderDetail.Quantity = quantity;
     inboundOrderDetail.PrescrapQuantity = prescrapQuantity;
     inboundOrderDetail.TransferQuantity = transferQuantity;
     inboundOrderDetail.UnitPrice = unitPrice;
     return inboundOrderDetail;
 }