예제 #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()
            });
        }
예제 #2
0
 public abstract GetStudyEntriesResult GetStudyEntries(GetStudyEntriesRequest request);