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