Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Reviews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReviews(Review review)
 {
     base.AddObject("Reviews", review);
 }
Ejemplo n.º 2
0
 /// <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;
 }