Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Rating object.
 /// </summary>
 /// <param name="ratingID">Initial value of the RatingID property.</param>
 /// <param name="mPAARating">Initial value of the MPAARating property.</param>
 public static Rating CreateRating(global::System.Int32 ratingID, global::System.String mPAARating)
 {
     Rating rating = new Rating();
     rating.RatingID = ratingID;
     rating.MPAARating = mPAARating;
     return rating;
 }