Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductRatings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductRatings(ProductRating productRating)
 {
     base.AddObject("ProductRatings", productRating);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new ProductRating object.
 /// </summary>
 /// <param name="rate_id">Initial value of the rate_id property.</param>
 public static ProductRating CreateProductRating(global::System.Int32 rate_id)
 {
     ProductRating productRating = new ProductRating();
     productRating.rate_id = rate_id;
     return productRating;
 }