/// <summary>
 /// Deprecated Method for adding a new object to the OrderItemGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderItemGroups(OrderItemGroup orderItemGroup)
 {
     base.AddObject("OrderItemGroups", orderItemGroup);
 }
 /// <summary>
 /// Create a new OrderItemGroup object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static OrderItemGroup CreateOrderItemGroup(global::System.Int32 id, global::System.Int32 orderId, global::System.Double quantity, global::System.String name)
 {
     OrderItemGroup orderItemGroup = new OrderItemGroup();
     orderItemGroup.Id = id;
     orderItemGroup.OrderId = orderId;
     orderItemGroup.Quantity = quantity;
     orderItemGroup.Name = name;
     return orderItemGroup;
 }