Пример #1
0
 public DirectorRepository(ICSVStream <Director> stream, ISequencer <long> sequencer, IEagerRepository <Address, long> addressRepository,
                           IEagerRepository <Town, long> townRepository, IEagerRepository <State, long> stateRepository) : base(stream, sequencer)
 {
     _addressRepository = addressRepository;
     _townRepository    = townRepository;
     _stateRepository   = stateRepository;
 }
Пример #2
0
 public DiseaseRepository(IMySQLStream <Disease> stream, ISequencer <long> sequencer, IEagerRepository <Medicine, long> medicineEagerCSVRepository, ISymptomRepository symptomRepository) : base(ENTITY_NAME, stream, sequencer, new LongIdGeneratorStrategy <Disease>())
 {
 }