partial void UpdatePrescription(Prescription instance);
partial void DeletePrescription(Prescription instance);
partial void InsertPrescription(Prescription instance);
private void detach_Prescriptions(Prescription entity) { this.SendPropertyChanging(); entity.Patient = null; }
private void attach_Prescriptions(Prescription entity) { this.SendPropertyChanging(); entity.Medicine = this; }
private void detach_Prescriptions6(Prescription entity) { this.SendPropertyChanging(); entity.UnitValue6 = null; }
private void attach_Prescriptions5(Prescription entity) { this.SendPropertyChanging(); entity.UnitValue5 = this; }