/// <pdGenerated>default Remove</pdGenerated> public void RemoveAppointmentRepository(Repository.AppointmentRepository oldAppointmentRepository) { if (oldAppointmentRepository == null) { return; } if (this.appointmentRepository != null) { if (this.appointmentRepository.Contains(oldAppointmentRepository)) { this.appointmentRepository.Remove(oldAppointmentRepository); } } }
/// <pdGenerated>default Add</pdGenerated> public void AddAppointmentRepository(Repository.AppointmentRepository newAppointmentRepository) { if (newAppointmentRepository == null) { return; } if (this.appointmentRepository == null) { this.appointmentRepository = new System.Collections.ArrayList(); } if (!this.appointmentRepository.Contains(newAppointmentRepository)) { this.appointmentRepository.Add(newAppointmentRepository); } }