/// <summary> /// Create a new Grade object. /// </summary> /// <param name="gradeID">Initial value of the GradeID property.</param> public static Grade CreateGrade(global::System.Byte gradeID) { Grade grade = new Grade(); grade.GradeID = gradeID; return grade; }
/// <summary> /// Deprecated Method for adding a new object to the Grades EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGrades(Grade grade) { base.AddObject("Grades", grade); }