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