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