/// <summary>
 /// Deprecated Method for adding a new object to the students EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTostudents(student student)
 {
     base.AddObject("students", student);
 }
 /// <summary>
 /// Create a new student object.
 /// </summary>
 /// <param name="registrationID">Initial value of the RegistrationID property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="telephone">Initial value of the Telephone property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 /// <param name="dateOfBirth">Initial value of the DateOfBirth property.</param>
 /// <param name="enrolmentDate">Initial value of the EnrolmentDate property.</param>
 /// <param name="sexId">Initial value of the SexId property.</param>
 /// <param name="departmentId">Initial value of the DepartmentId property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 public static student Createstudent(global::System.String registrationID, global::System.String firstName, global::System.String lastName, global::System.String email, global::System.String telephone, global::System.String address, global::System.DateTime dateOfBirth, global::System.DateTime enrolmentDate, global::System.Int32 sexId, global::System.Int32 departmentId, global::System.Int32 id)
 {
     student student = new student();
     student.RegistrationID = registrationID;
     student.FirstName = firstName;
     student.LastName = lastName;
     student.Email = email;
     student.Telephone = telephone;
     student.Address = address;
     student.DateOfBirth = dateOfBirth;
     student.EnrolmentDate = enrolmentDate;
     student.SexId = sexId;
     student.DepartmentId = departmentId;
     student.Id = id;
     return student;
 }