/// <summary> /// Create a new tblReviewMeal object. /// </summary> /// <param name="reviewId">Initial value of the ReviewId property.</param> /// <param name="mealId">Initial value of the MealId property.</param> /// <param name="comment">Initial value of the Comment property.</param> /// <param name="approved">Initial value of the Approved property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static tblReviewMeal CreatetblReviewMeal(global::System.Int32 reviewId, global::System.Int32 mealId, global::System.String comment, global::System.Boolean approved, global::System.DateTime createdDate, global::System.Guid createdBy) { tblReviewMeal tblReviewMeal = new tblReviewMeal(); tblReviewMeal.ReviewId = reviewId; tblReviewMeal.MealId = mealId; tblReviewMeal.Comment = comment; tblReviewMeal.Approved = approved; tblReviewMeal.CreatedDate = createdDate; tblReviewMeal.CreatedBy = createdBy; return tblReviewMeal; }
/// <summary> /// Deprecated Method for adding a new object to the tblReviewMeal EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblReviewMeal(tblReviewMeal tblReviewMeal) { base.AddObject("tblReviewMeal", tblReviewMeal); }