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