/// <summary>
 /// Create a new Product object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 public static Product CreateProduct(global::System.Int32 id, global::System.Double price)
 {
     Product product = new Product();
     product.Id = id;
     product.Price = price;
     return product;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Product EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProduct(Product product)
 {
     base.AddObject("Product", product);
 }