/// <summary> /// Deprecated Method for adding a new object to the RatingScales EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRatingScales(RatingScale ratingScale) { base.AddObject("RatingScales", ratingScale); }
/// <summary> /// Create a new RatingScale object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="profileID">Initial value of the ProfileID property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="lowBound">Initial value of the LowBound property.</param> public static RatingScale CreateRatingScale(global::System.Int32 id, global::System.Int32 profileID, global::System.String text, global::System.Decimal lowBound) { RatingScale ratingScale = new RatingScale(); ratingScale.ID = id; ratingScale.ProfileID = profileID; ratingScale.Text = text; ratingScale.LowBound = lowBound; return ratingScale; }