Exemplo n.º 1
0
 /// <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);
         }
     }
 }
Exemplo n.º 2
0
 /// <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);
     }
 }