/// <summary>
 /// Create a new Rating object.
 /// </summary>
 /// <param name="ratingId">Initial value of the RatingId property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 public static Rating CreateRating(global::System.Int32 ratingId, global::System.String type)
 {
     Rating rating = new Rating();
     rating.RatingId = ratingId;
     rating.Type = type;
     return rating;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Ratings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRatings(Rating rating)
 {
     base.AddObject("Ratings", rating);
 }