/// <summary> /// Create a new OrderLineItem object. /// </summary> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> public static OrderLineItem CreateOrderLineItem(global::System.Int32 orderID, global::System.Int32 productID) { OrderLineItem orderLineItem = new OrderLineItem(); orderLineItem.OrderID = orderID; orderLineItem.ProductID = productID; return orderLineItem; }
/// <summary> /// Deprecated Method for adding a new object to the OrderLineItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderLineItems(OrderLineItem orderLineItem) { base.AddObject("OrderLineItems", orderLineItem); }