Ejemplo n.º 1
0
        public GetStudyEntriesResult GetStudyEntries(GetStudyEntriesRequest request)
        {
            Platform.CheckForNullReference(request, "request");
            if (request.Criteria == null)
            {
                request.Criteria = new StudyEntry();
            }

            if (request.Criteria.Study == null)
            {
                request.Criteria.Study = new StudyRootStudyIdentifier();
            }

            return(new GetStudyEntriesResult
            {
                StudyEntries = _studyRootQuery.StudyQuery(request.Criteria.Study)
                               .Select(identifier => new StudyEntry {
                    Study = identifier
                }).ToList()
            });
        }
Ejemplo n.º 2
0
 public abstract GetStudyEntriesResult GetStudyEntries(GetStudyEntriesRequest request);