/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the DietRatings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDietRatings(DietRating dietRating) { base.AddObject("DietRatings", dietRating); }