/// <summary> /// Deprecated Method for adding a new object to the Patients EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPatients(Patient patient) { base.AddObject("Patients", patient); }
/// <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; }