/// <summary>
 /// Deprecated Method for adding a new object to the Quantities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToQuantities(Quantity quantity)
 {
     base.AddObject("Quantities", quantity);
 }
 /// <summary>
 /// Create a new Quantity object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="size">Initial value of the Size property.</param>
 /// <param name="quantity1">Initial value of the Quantity1 property.</param>
 public static Quantity CreateQuantity(global::System.Int32 id, global::System.Int32 productID, global::System.Decimal size, global::System.Int32 quantity1)
 {
     Quantity quantity = new Quantity();
     quantity.ID = id;
     quantity.ProductID = productID;
     quantity.Size = size;
     quantity.Quantity1 = quantity1;
     return quantity;
 }