/// <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>
 public static Patient CreatePatient(global::System.Guid patientId, global::System.String name)
 {
     Patient patient = new Patient();
     patient.PatientId = patientId;
     patient.Name = name;
     return patient;
 }