/// <summary> /// Create a new tblRating object. /// </summary> /// <param name="ratingId">Initial value of the RatingId property.</param> /// <param name="tutorId">Initial value of the TutorId property.</param> /// <param name="studentId">Initial value of the StudentId property.</param> /// <param name="rate">Initial value of the Rate property.</param> public static tblRating CreatetblRating(global::System.Int32 ratingId, global::System.Int32 tutorId, global::System.Int32 studentId, global::System.Int32 rate) { tblRating tblRating = new tblRating(); tblRating.RatingId = ratingId; tblRating.TutorId = tutorId; tblRating.StudentId = studentId; tblRating.Rate = rate; return tblRating; }
/// <summary> /// Deprecated Method for adding a new object to the tblRatings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblRatings(tblRating tblRating) { base.AddObject("tblRatings", tblRating); }