コード例 #1
0
        public T Handle(DbDataReader reader, IMartenSession session)
        {
            // TODO -- return null if there are no events
            var @events = _inner.Handle(reader, session);

            return(_state == null?_aggregator.Build(@events, (IDocumentSession)_session) : _aggregator.Build(@events, (IDocumentSession)_session, _state));
        }
コード例 #2
0
        public T Handle(DbDataReader reader, IIdentityMap map, QueryStatistics stats)
        {
            var @events = _inner.Handle(reader, map, stats);

            return(_aggregator.Build(@events, _session));
        }
コード例 #3
0
        public T Handle(DbDataReader reader, IIdentityMap map)
        {
            var @events = _inner.Handle(reader, map);

            return(_aggregator.Build(@events, _session));
        }