Ejemplo n.º 1
0
 /// <summary>
 /// Create a new CourseGrade object.
 /// </summary>
 /// <param name="userID">Initial value of the userID property.</param>
 /// <param name="courseID">Initial value of the courseID property.</param>
 /// <param name="grade">Initial value of the grade property.</param>
 public static CourseGrade CreateCourseGrade(global::System.Int32 userID, global::System.String courseID, global::System.String grade)
 {
     CourseGrade courseGrade = new CourseGrade();
     courseGrade.userID = userID;
     courseGrade.courseID = courseID;
     courseGrade.grade = grade;
     return courseGrade;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CourseGrades EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCourseGrades(CourseGrade courseGrade)
 {
     base.AddObject("CourseGrades", courseGrade);
 }