/// <summary> /// Deprecated Method for adding a new object to the vOrderLineItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovOrderLineItems(vOrderLineItem vOrderLineItem) { base.AddObject("vOrderLineItems", vOrderLineItem); }
/// <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; }