/// <summary>
 /// Deprecated Method for adding a new object to the ProductDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductDetails(ProductDetail productDetail)
 {
     base.AddObject("ProductDetails", productDetail);
 }
 /// <summary>
 /// Create a new ProductDetail object.
 /// </summary>
 /// <param name="productDetailID">Initial value of the ProductDetailID property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="productDetail1">Initial value of the ProductDetail1 property.</param>
 /// <param name="mandatory">Initial value of the Mandatory property.</param>
 /// <param name="sortOrder">Initial value of the SortOrder property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 public static ProductDetail CreateProductDetail(global::System.Int32 productDetailID, global::System.Int32 productID, global::System.String productDetail1, global::System.Boolean mandatory, global::System.Int32 sortOrder, global::System.Double price)
 {
     ProductDetail productDetail = new ProductDetail();
     productDetail.ProductDetailID = productDetailID;
     productDetail.ProductID = productID;
     productDetail.ProductDetail1 = productDetail1;
     productDetail.Mandatory = mandatory;
     productDetail.SortOrder = sortOrder;
     productDetail.Price = price;
     return productDetail;
 }