Exemplo n.º 1
0
        public IQueryHandler <TResult> BuildSingleResultHandler <TResult>(IMartenSession session, Statement topStatement)
        {
            var selector = (ISelector <TResult>)SelectClause.BuildSelector(session);

            return(new OneResultHandler <TResult>(topStatement, selector, ReturnDefaultWhenEmpty, CanBeMultiples));
        }