コード例 #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);
         }
     }
 }
コード例 #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);
     }
 }