예제 #1
0
 /// <summary>
 /// Remove an existing Backend.Repository.AppointmentRepository from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveAppointmentRepository(Backend.Repository.AppointmentRepository oldAppointmentRepository)
 {
     if (oldAppointmentRepository == null)
     {
         return;
     }
     if (this.appointmentRepository != null)
     {
         if (this.appointmentRepository.Contains(oldAppointmentRepository))
         {
             this.appointmentRepository.Remove(oldAppointmentRepository);
         }
     }
 }
예제 #2
0
 /// <summary>
 /// Add a new Backend.Repository.AppointmentRepository in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddAppointmentRepository(Backend.Repository.AppointmentRepository newAppointmentRepository)
 {
     if (newAppointmentRepository == null)
     {
         return;
     }
     if (this.appointmentRepository == null)
     {
         this.appointmentRepository = new System.Collections.Generic.List <AppointmentRepository>();
     }
     if (!this.appointmentRepository.Contains(newAppointmentRepository))
     {
         this.appointmentRepository.Add(newAppointmentRepository);
     }
 }