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