Ejemplo n.º 1
0
 /// <summary>
 /// Remove an existing Repository.PatientRepository from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemovePatientRepository(Repository.PatientRepository oldPatientRepository)
 {
     if (oldPatientRepository == null)
     {
         return;
     }
     if (this.patientRepository != null)
     {
         if (this.patientRepository.Contains(oldPatientRepository))
         {
             this.patientRepository.Remove(oldPatientRepository);
         }
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a new Repository.PatientRepository in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddPatientRepository(Repository.PatientRepository newPatientRepository)
 {
     if (newPatientRepository == null)
     {
         return;
     }
     if (this.patientRepository == null)
     {
         this.patientRepository = new System.Collections.Generic.List <PatientRepository>();
     }
     if (!this.patientRepository.Contains(newPatientRepository))
     {
         this.patientRepository.Add(newPatientRepository);
     }
 }