/// <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);
 }
 /// <summary>
 /// Create a new OrderItem object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 public static OrderItem CreateOrderItem(global::System.Guid id, global::System.Guid productId, global::System.Double quantity, global::System.Guid orderId)
 {
     OrderItem orderItem = new OrderItem();
     orderItem.Id = id;
     orderItem.ProductId = productId;
     orderItem.Quantity = quantity;
     orderItem.OrderId = orderId;
     return orderItem;
 }