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(Ratings ratings)
 {
     base.AddObject("Ratings", ratings);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Ratings object.
 /// </summary>
 /// <param name="r_fromusername">Initial value of the r_fromusername property.</param>
 /// <param name="r_tousername">Initial value of the r_tousername property.</param>
 /// <param name="r_rating">Initial value of the r_rating property.</param>
 /// <param name="r_timestamp">Initial value of the r_timestamp property.</param>
 public static Ratings CreateRatings(global::System.String r_fromusername, global::System.String r_tousername, global::System.Int32 r_rating, global::System.DateTime r_timestamp)
 {
     Ratings ratings = new Ratings();
     ratings.r_fromusername = r_fromusername;
     ratings.r_tousername = r_tousername;
     ratings.r_rating = r_rating;
     ratings.r_timestamp = r_timestamp;
     return ratings;
 }