/// <summary> /// Create a new UserRating object. /// </summary> /// <param name="achievementsId">Initial value of the AchievementsId property.</param> /// <param name="ratingId">Initial value of the RatingId property.</param> /// <param name="isCoach">Initial value of the IsCoach property.</param> public static UserRating CreateUserRating(global::System.Int32 achievementsId, global::System.Int32 ratingId, global::System.Boolean isCoach) { UserRating userRating = new UserRating(); userRating.AchievementsId = achievementsId; userRating.RatingId = ratingId; userRating.IsCoach = isCoach; return userRating; }
/// <summary> /// Deprecated Method for adding a new object to the UserRatings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserRatings(UserRating userRating) { base.AddObject("UserRatings", userRating); }