/// <summary> /// Deprecated Method for adding a new object to the Patient_Treatment EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPatient_Treatment(Patient_Treatment patient_Treatment) { base.AddObject("Patient_Treatment", patient_Treatment); }
/// <summary> /// Create a new Patient_Treatment object. /// </summary> /// <param name="treatmentId">Initial value of the treatmentId property.</param> /// <param name="patientId">Initial value of the patientId property.</param> /// <param name="doctorId">Initial value of the doctorId property.</param> public static Patient_Treatment CreatePatient_Treatment(global::System.String treatmentId, global::System.String patientId, global::System.String doctorId) { Patient_Treatment patient_Treatment = new Patient_Treatment(); patient_Treatment.treatmentId = treatmentId; patient_Treatment.patientId = patientId; patient_Treatment.doctorId = doctorId; return patient_Treatment; }