/// <summary> /// Deprecated Method for adding a new object to the ReviewCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReviewCategories(ReviewCategory reviewCategory) { base.AddObject("ReviewCategories", reviewCategory); }
/// <summary> /// Create a new ReviewCategory object. /// </summary> /// <param name="categoryID">Initial value of the CategoryID property.</param> public static ReviewCategory CreateReviewCategory(global::System.Int32 categoryID) { ReviewCategory reviewCategory = new ReviewCategory(); reviewCategory.CategoryID = categoryID; return reviewCategory; }