private void Child_Update(DataAccess.DataModels.MedicalNotes notes) { using (BypassPropertyChecks) { notes.MedicAlertInfo = MedicalAlertInfo; notes.Allergies = Allergies; notes.RegularMedications = RegularMedications; notes.PsychMedications = PsychMedications; notes.Notes = Notes; notes.Inhaler = Inhaler; notes.Diabetic = Diabetic; } }
private void Child_Fetch(DataAccess.DataModels.MedicalNotes notes) { using (BypassPropertyChecks) { MedicalAlertInfo = notes.MedicAlertInfo; Allergies = notes.Allergies; RegularMedications = notes.RegularMedications; PsychMedications = notes.PsychMedications; Notes = notes.Notes; Inhaler = notes.Inhaler; Diabetic = notes.Diabetic; } }
private void Child_Insert(DataAccess.DataModels.MedicalNotes notes) { Child_Update(notes); }