/// <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);
 }
 /// <summary>
 /// Create a new Product object.
 /// </summary>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="productGroupID">Initial value of the ProductGroupID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Product CreateProduct(global::System.Int32 productID, global::System.Int32 productGroupID, global::System.String name)
 {
     Product product = new Product();
     product.ProductID = productID;
     product.ProductGroupID = productGroupID;
     product.Name = name;
     return product;
 }