/// <summary> /// Deprecated Method for adding a new object to the Prescription_Medicine EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrescription_Medicine(Prescription_Medicine prescription_Medicine) { base.AddObject("Prescription_Medicine", prescription_Medicine); }
/// <summary> /// Create a new Prescription_Medicine object. /// </summary> /// <param name="medicineId">Initial value of the medicineId property.</param> /// <param name="prescriptionId">Initial value of the prescriptionId property.</param> public static Prescription_Medicine CreatePrescription_Medicine(global::System.String medicineId, global::System.String prescriptionId) { Prescription_Medicine prescription_Medicine = new Prescription_Medicine(); prescription_Medicine.medicineId = medicineId; prescription_Medicine.prescriptionId = prescriptionId; return prescription_Medicine; }