Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderItems(OrderItem orderItem)
 {
     base.AddObject("OrderItems", orderItem);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new OrderItem object.
 /// </summary>
 /// <param name="orderItemID">Initial value of the OrderItemID property.</param>
 public static OrderItem CreateOrderItem(global::System.Int32 orderItemID)
 {
     OrderItem orderItem = new OrderItem();
     orderItem.OrderItemID = orderItemID;
     return orderItem;
 }