/// <summary>
 /// Create a new Teacher object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="class">Initial value of the Class property.</param>
 public static Teacher CreateTeacher(global::System.Int32 id, global::System.String firstName, global::System.String lastName, global::System.String @class)
 {
     Teacher teacher = new Teacher();
     teacher.Id = id;
     teacher.FirstName = firstName;
     teacher.LastName = lastName;
     teacher.Class = @class;
     return teacher;
 }
 /// <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);
 }