예제 #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);
 }
예제 #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;
 }