/// <summary> /// Deprecated Method for adding a new object to the Reviews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReviews(Review review) { base.AddObject("Reviews", review); }
/// <summary> /// Create a new Review object. /// </summary> /// <param name="reviewId">Initial value of the ReviewId property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="feedback">Initial value of the feedback property.</param> /// <param name="aReviewID">Initial value of the AReviewID property.</param> public static Review CreateReview(global::System.Int32 reviewId, global::System.Int32 status, global::System.String feedback, global::System.Int32 aReviewID) { Review review = new Review(); review.ReviewId = reviewId; review.Status = status; review.feedback = feedback; review.AReviewID = aReviewID; return review; }