public SDTMloader(IServiceUoW uoW) { _dataServiceUnit = uoW; _datasetRepository = uoW.GetRepository <Dataset, int>(); _dataFileRepository = uoW.GetRepository <DataFile, int>(); _sdtmRepository = uoW.GetRepository <SdtmRow, Guid>(); }
public SubjectService(IServiceUoW uoW) { _dataContext = uoW; _subjectRepository = uoW.GetRepository <HumanSubject, string>(); _studtRepository = uoW.GetRepository <Study, int>(); _characteristicObjRepository = uoW.GetRepository <CharacteristicFeature, int>(); }
public CheckoutService(IServiceUoW uoW, QueryService queryService) { _dataContext = uoW; _combinedQueryRepository = uoW.GetRepository <CombinedQuery, Guid>(); _userDatasetRepository = uoW.GetRepository <UserDataset, Guid>(); _queryService = queryService; }
public HDloader(IServiceUoW uoW) { _dataContext = uoW; _datasetRepository = uoW.GetRepository <Dataset, int>(); _dataFileRepository = uoW.GetRepository <DataFile, int>(); _observationRepository = uoW.GetRepository <Observation, Guid>(); }
public AssayService(IServiceUoW uoW, DatasetService datasetService) { _dataContext = uoW; _bioSampleRepository = uoW.GetRepository <Biosample, int>(); _projectRepository = uoW.GetRepository <Project, int>(); _assayRepository = uoW.GetRepository <Assay, int>(); _datasetService = datasetService; }
public CheckoutService(IServiceUoW uoW, QueryService queryService) { _dataContext = uoW; _combinedQueryRepository = uoW.GetRepository <CombinedQuery, Guid>(); _exportFileRepository = uoW.GetRepository <ExportFile, Guid>(); _analysisDatasetRepository = uoW.GetRepository <AnalysisDataset, Guid>(); _queryService = queryService; }
public BioSampleService(IServiceUoW uoW) { _dataContext = uoW; _bioSampleRepository = uoW.GetRepository <Biosample, int>(); _datasetRepository = uoW.GetRepository <Dataset, int>(); _studyRepository = uoW.GetRepository <Study, int>(); _characteristicObjRepository = uoW.GetRepository <CharacteristicFeature, int>(); }
public DbInitializer(IServiceUoW uoW, IOptions <DataAccessSettings> settings) { _db = uoW; _desriptorRepository = uoW.GetRepository <DatasetTemplate, string>(); _dictRepository = uoW.GetRepository <Dictionary, string>(); _ConfigSettings = settings.Value; _JSONDir = _ConfigSettings.DBinitDirectory; Directory.CreateDirectory(_JSONDir); }
public DataMatrixLoader(IServiceUoW uoW, FileService fileService) { _dataContext = uoW; _observationRepository = uoW.GetRepository <Observation, Guid>(); _biosampleRepository = uoW.GetRepository <Biosample, int>(); _dataFileRepository = uoW.GetRepository <DataFile, int>(); _datasetRepository = uoW.GetRepository <Dataset, int>(); _fileService = fileService; }
public DatasetService(IServiceUoW uoW, CacheService cacheService) { _dataServiceUnit = uoW; _datasetRepository = uoW.GetRepository <Dataset, int>(); _dataFileRepository = uoW.GetRepository <DataFile, int>(); _observationRepository = uoW.GetRepository <Observation, int>(); _sdtmRepository = uoW.GetRepository <SdtmRow, Guid>(); _variableDefinitionRepository = uoW.GetRepository <VariableDefinition, int>(); _cacheService = cacheService; }
public FileService(IServiceUoW uoW, IOptions <FileStorageSettings> settings) { _dataServiceUnit = uoW; _fileRepository = uoW.GetRepository <DataFile, int>(); _projectRepository = uoW.GetRepository <Project, int>(); _datasetRepository = uoW.GetRepository <Dataset, int>(); ConfigSettings = settings.Value; _uploadFileDirectory = ConfigSettings.UploadFileDirectory; _downloadFileDirectory = ConfigSettings.DownloadFileDirectory; _observationRepository = uoW.GetRepository <Observation, int>(); }
public void LoadDictionaries() { var reader = File.OpenText(Path.Combine(_JSONDir, _termsJSONfilename)); List <Dictionary> dicts = JsonConvert.DeserializeObject <List <Dictionary> >(reader.ReadToEnd()); _dictRepository = _db.GetRepository <Dictionary, string>(); _dictRepository.InsertMany(dicts); _db.Save(); reader.Dispose(); }
//MongoDB Repositories //private IRepository<HumanSubject, string> subjectRepository; //private IRepository<Study, int> _studyRepository; public ObservationService(IServiceUoW uoW) { _dataContext = uoW; //_activityRepository = uoW.GetRepository<Activity, int>(); _ObservationRepository = uoW.GetRepository <Observation, int>(); //_datasetRepository = uoW.GetRepository<Dataset, int>(); //_variableRepository = uoW.GetRepository<VariableDefinition, int>(); //subjectRepository = uoW.GetRepository<HumanSubject, string>(); //_studyRepository = uoW.GetRepository<Study, int>(); //_O3Repository = uoW.GetRepository<ObjectOfObservation, int>(); //_ObsDescriptionRepository = uoW.GetRepository<ObservationDescriptor, int>(); //_ObsDescriptorRepository = uoW.GetRepository<PropertyDescriptor, int>(); _sdtmRepository = uoW.GetRepository <SdtmRow, Guid>(); }
public ExportService(IServiceUoW uoW, QueryService queryService, IOptions <FileStorageSettings> settings) { _exportFileRepository = uoW.GetRepository <ExportFile, Guid>(); _queryService = queryService; _dataServiceUnit = uoW; ConfigSettings = settings.Value; _downloadFileDirectory = ConfigSettings.DownloadFileDirectory; }
public ProjectService(IServiceUoW uoW) { this.uoW = uoW; _projectRepository = uoW.GetRepository <Project, int>(); _userDatasetRepository = uoW.GetRepository <UserDataset, Guid>(); _activityRepository = uoW.GetRepository <Activity, int>(); _assayRepository = uoW.GetRepository <Assay, int>(); _combinedQueryRepository = uoW.GetRepository <CombinedQuery, Guid>(); _sdtmRepository = uoW.GetRepository <SdtmRow, Guid>(); }
public BioSampleLoader(IServiceUoW uoW) { _dataContext = uoW; _bioSampleRepository = uoW.GetRepository <Biosample, int>(); _subjectRepository = uoW.GetRepository <HumanSubject, string>(); _studyRepository = uoW.GetRepository <Study, int>(); _assayRepository = uoW.GetRepository <Assay, int>(); _sdtmRepository = uoW.GetRepository <SdtmRow, Guid>(); _characteristicObjRepository = uoW.GetRepository <CharacteristicFeature, int>(); }
public CVtermService(IServiceUoW uoW) { _CVrepository = uoW.GetRepository <CVterm, string>(); }
public UserDatasetService(IServiceUoW uoW) { _unitOfWork = uoW; _userDatasetRepository = uoW.GetRepository <UserDataset, Guid>(); _projectRepository = uoW.GetRepository <Project, int>(); }
public TemplateService(IServiceUoW uoW) { _dataServiceUnit = uoW; _templateRepository = uoW.GetRepository <DatasetTemplate, string>(); }
public StudyService(IServiceUoW uoW) { _studyServiceUnit = uoW; _studyRepository = _studyServiceUnit.GetRepository <Study, int>(); _projectRepository = uoW.GetRepository <Project, int>(); }
public ObservationLoader(IServiceUoW uoW) { _dataContext = uoW; _observationRepository = uoW.GetRepository <Observation, int>(); _sdtmRepository = uoW.GetRepository <SdtmRow, Guid>(); }
public QueryService(IServiceUoW uoW) { _combinedQueryRepository = uoW.GetRepository <CombinedQuery, Guid>(); _subjectRepository = uoW.GetRepository <HumanSubject, string>(); _subjectCharacteristicRepository = uoW.GetRepository <SubjectCharacteristic, int>(); _sampleCharacteristicRepository = uoW.GetRepository <SampleCharacteristic, int>(); _armRepository = uoW.GetRepository <Arm, string>(); _studyRepository = uoW.GetRepository <Study, int>(); _visitRepository = uoW.GetRepository <Visit, int>(); _sdtmRepository = uoW.GetRepository <SdtmRow, Guid>(); _biosampleRepository = uoW.GetRepository <Biosample, int>(); _assayRepository = uoW.GetRepository <Assay, int>(); _observationRepository = uoW.GetRepository <Observation, Guid>(); }
public ActivityService(IServiceUoW uoW, DatasetService datasetService) { _activityServiceUnit = uoW; _activityRepository = uoW.GetRepository <Activity, int>(); _datasetService = datasetService; }
public AnalysisDatasetService(IServiceUoW uoW) { _unitOfWork = uoW; _analysisDatasetRepository = uoW.GetRepository <AnalysisDataset, Guid>(); _exportFileRepository = uoW.GetRepository <ExportFile, Guid>(); }
public DatasetDescriptorService(IServiceUoW uoW, CacheService cacheService) { _dataServiceUnit = uoW; _datasetRepository = uoW.GetRepository <Dataset, int>(); _variableDefinitionRepository = uoW.GetRepository <VariableDefinition, int>(); }