コード例 #1
0
 /// <pdGenerated>default Remove</pdGenerated>
 public void RemoveMedicalRecordRepository(Repository.MedicalRecordRepository oldMedicalRecordRepository)
 {
     if (oldMedicalRecordRepository == null)
     {
         return;
     }
     if (this.medicalRecordRepository != null)
     {
         if (this.medicalRecordRepository.Contains(oldMedicalRecordRepository))
         {
             this.medicalRecordRepository.Remove(oldMedicalRecordRepository);
         }
     }
 }
コード例 #2
0
 /// <pdGenerated>default Add</pdGenerated>
 public void AddMedicalRecordRepository(Repository.MedicalRecordRepository newMedicalRecordRepository)
 {
     if (newMedicalRecordRepository == null)
     {
         return;
     }
     if (this.medicalRecordRepository == null)
     {
         this.medicalRecordRepository = new System.Collections.ArrayList();
     }
     if (!this.medicalRecordRepository.Contains(newMedicalRecordRepository))
     {
         this.medicalRecordRepository.Add(newMedicalRecordRepository);
     }
 }