/// <summary>
 /// Deprecated Method for adding a new object to the Teachers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTeachers(Teacher teacher)
 {
     base.AddObject("Teachers", teacher);
 }
 /// <summary>
 /// Create a new Teacher object.
 /// </summary>
 /// <param name="teacherID">Initial value of the TeacherID property.</param>
 public static Teacher CreateTeacher(global::System.Int32 teacherID)
 {
     Teacher teacher = new Teacher();
     teacher.TeacherID = teacherID;
     return teacher;
 }