Exemplo n.º 1
0
 /// <summary>
 /// Remove an existing Repository.DoctorRepository from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveDoctorRepository(Repository.DoctorRepository oldDoctorRepository)
 {
     if (oldDoctorRepository == null)
     {
         return;
     }
     if (this.doctorRepository != null)
     {
         if (this.doctorRepository.Contains(oldDoctorRepository))
         {
             this.doctorRepository.Remove(oldDoctorRepository);
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Add a new Repository.DoctorRepository in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddDoctorRepository(Repository.DoctorRepository newDoctorRepository)
 {
     if (newDoctorRepository == null)
     {
         return;
     }
     if (this.doctorRepository == null)
     {
         this.doctorRepository = new System.Collections.Generic.List <DoctorRepository>();
     }
     if (!this.doctorRepository.Contains(newDoctorRepository))
     {
         this.doctorRepository.Add(newDoctorRepository);
     }
 }