コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vOrderLineItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovOrderLineItems(vOrderLineItem vOrderLineItem)
 {
     base.AddObject("vOrderLineItems", vOrderLineItem);
 }
コード例 #2
0
 /// <summary>
 /// Create a new vOrderLineItem object.
 /// </summary>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 public static vOrderLineItem CreatevOrderLineItem(global::System.Int32 orderID, global::System.Int32 productID)
 {
     vOrderLineItem vOrderLineItem = new vOrderLineItem();
     vOrderLineItem.OrderID = orderID;
     vOrderLineItem.ProductID = productID;
     return vOrderLineItem;
 }