/// <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="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; }