/// <summary>
 /// Create a new Grade object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="pupilID">Initial value of the PupilID property.</param>
 /// <param name="subjectAreaID">Initial value of the SubjectAreaID property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 public static Grade CreateGrade(global::System.Int32 id, global::System.Int32 pupilID, global::System.Int32 subjectAreaID, global::System.Int32 value)
 {
     Grade grade = new Grade();
     grade.ID = id;
     grade.PupilID = pupilID;
     grade.SubjectAreaID = subjectAreaID;
     grade.Value = value;
     return grade;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Grades EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGrades(Grade grade)
 {
     base.AddObject("Grades", grade);
 }