public TherapyRepository(ICSVStream <Therapy> stream, ISequencer <long> sequencer, IEagerCSVRepository <MedicalRecord, long> medicalRecordEagerRepository, IMedicalRecordRepository medicalRecordRepository, IEagerCSVRepository <Prescription, long> prescriptionEagerCSVRepository, IDiagnosisRepository diagnosisCSVRepository) : base(ENTITY_NAME, stream, sequencer, new LongIdGeneratorStrategy <Therapy>()) { _prescriptionEagerCSVRepository = prescriptionEagerCSVRepository; _medicalRecordEagerCSVRepository = medicalRecordEagerRepository; _medicalRecordRepository = medicalRecordRepository; _diagnosisCSVRepository = diagnosisCSVRepository; }
public ClientRepository(ICSVStream <Client> stream, ISequencer <long> sequencer, IEagerCSVRepository <Account, long> accountRepository) : base(ENTITY_NAME, stream, sequencer) { _accountRepository = accountRepository; }
public LoanRepository(ICSVStream <Loan> stream, ISequencer <long> sequencer, IEagerCSVRepository <Client, long> clientRepository) : base(ENTITY_NAME, stream, sequencer) { _clientRepository = clientRepository; }
public AppointementRepository(ICSVStream <Appointement> stream, ISequencer <long> sequencer, IEagerCSVRepository <Doctor, long> doctorRepository, IEagerCSVRepository <Patient, long> patientRepository, IEagerCSVRepository <Room, long> roomRepository ) : base(ENTITY_NAME, stream, sequencer) { _doctorRepository = doctorRepository; _patientRepository = patientRepository; _roomRepository = roomRepository; }
public AppointmentRepository(ICSVStream <Appointment> stream, ISequencer <long> sequencer, IEagerCSVRepository <Patient, UserID> patientRepository, IEagerCSVRepository <Doctor, UserID> doctorRepository, IRoomRepository roomRepository) : base(ENTITY_NAME, stream, sequencer, new LongIdGeneratorStrategy <Appointment>()) { _patientRepository = patientRepository; _doctorRepository = doctorRepository; _roomRepository = roomRepository; }
public DiagnosisRepository(ICSVStream <Diagnosis> stream, ISequencer <long> sequencer, IEagerCSVRepository <Therapy, long> therapyEagerCSVRepository, IEagerCSVRepository <Disease, long> diseaseEagerCSVRepository, IMedicalRecordRepository medicalRecordRepository) : base(ENTITY_NAME, stream, sequencer, new LongIdGeneratorStrategy <Diagnosis>()) { _therapyEagerCSVRepository = therapyEagerCSVRepository; _diseaseEagerCSVRepository = diseaseEagerCSVRepository; _medicalRecordRepository = medicalRecordRepository; }
public PatientRepository(ICSVStream <Patient> stream, ISequencer <UserID> sequencer, IEagerCSVRepository <Doctor, UserID> doctorRepository, IUserRepository userRepository) : base(ENTITY_NAME, stream, sequencer, new PatientIdGeneratorStrategy()) { _doctorRepository = doctorRepository; _userRepository = userRepository; }