コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OutputOrder EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOutputOrder(OutputOrder outputOrder)
 {
     base.AddObject("OutputOrder", outputOrder);
 }
コード例 #2
0
 /// <summary>
 /// Create a new OutputOrder object.
 /// </summary>
 /// <param name="orderItemID">Initial value of the OrderItemID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="packageID">Initial value of the PackageID property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="unitCost">Initial value of the UnitCost property.</param>
 public static OutputOrder CreateOutputOrder(global::System.Int32 orderItemID, global::System.Int32 orderID, global::System.Int32 packageID, global::System.Decimal quantity, global::System.Decimal unitCost)
 {
     OutputOrder outputOrder = new OutputOrder();
     outputOrder.OrderItemID = orderItemID;
     outputOrder.OrderID = orderID;
     outputOrder.PackageID = packageID;
     outputOrder.Quantity = quantity;
     outputOrder.UnitCost = unitCost;
     return outputOrder;
 }