/// <summary>
 /// Deprecated Method for adding a new object to the Patients EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPatients(Patient patient)
 {
     base.AddObject("Patients", patient);
 }
 /// <summary>
 /// Create a new Patient object.
 /// </summary>
 /// <param name="patientId">Initial value of the patientId property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="phone">Initial value of the phone property.</param>
 /// <param name="email">Initial value of the email property.</param>
 /// <param name="gender">Initial value of the gender property.</param>
 /// <param name="dob">Initial value of the dob property.</param>
 /// <param name="nationality">Initial value of the nationality property.</param>
 /// <param name="icNum">Initial value of the icNum property.</param>
 /// <param name="street">Initial value of the street property.</param>
 /// <param name="country">Initial value of the country property.</param>
 /// <param name="postalCode">Initial value of the postalCode property.</param>
 public static Patient CreatePatient(global::System.String patientId, global::System.String name, global::System.Int32 phone, global::System.String email, global::System.String gender, global::System.DateTime dob, global::System.String nationality, global::System.String icNum, global::System.String street, global::System.String country, global::System.Int32 postalCode)
 {
     Patient patient = new Patient();
     patient.patientId = patientId;
     patient.name = name;
     patient.phone = phone;
     patient.email = email;
     patient.gender = gender;
     patient.dob = dob;
     patient.nationality = nationality;
     patient.icNum = icNum;
     patient.street = street;
     patient.country = country;
     patient.postalCode = postalCode;
     return patient;
 }