/// <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="patID">Initial value of the patID property.</param>
 /// <param name="patFirstName">Initial value of the patFirstName property.</param>
 /// <param name="patLastName">Initial value of the patLastName property.</param>
 /// <param name="patDateCreate">Initial value of the patDateCreate property.</param>
 /// <param name="docID">Initial value of the docID property.</param>
 /// <param name="patActive">Initial value of the patActive property.</param>
 public static patient Createpatient(global::System.Int32 patID, global::System.String patFirstName, global::System.String patLastName, global::System.DateTime patDateCreate, global::System.Int32 docID, global::System.Boolean patActive)
 {
     patient patient = new patient();
     patient.patID = patID;
     patient.patFirstName = patFirstName;
     patient.patLastName = patLastName;
     patient.patDateCreate = patDateCreate;
     patient.docID = docID;
     patient.patActive = patActive;
     return patient;
 }