Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Patient object.
 /// </summary>
 /// <param name="patientID">Initial value of the patientID property.</param>
 /// <param name="surgeonID">Initial value of the surgeonID property.</param>
 public static Patient CreatePatient(global::System.Int32 patientID, global::System.Int32 surgeonID)
 {
     Patient patient = new Patient();
     patient.patientID = patientID;
     patient.surgeonID = surgeonID;
     return patient;
 }