示例#1
0
        private Task <IEnumerable <StreamEvent> > GetEntities(
            Guid streamId,
            long fromVersion,
            CancellationToken cancellationToken)
        {
            string stateType = _typeResolver.ResolveTypeName <T>();

            return(_table.BuildStreamEventQuery(stateType, streamId, fromVersion).ExecuteAsync(cancellationToken));
        }
示例#2
0
 private IQueryable <StreamEvent> BuildStreamEventsQuery(QueueTicket queueTicket)
 {
     return(_table.BuildStreamEventQuery(queueTicket));
 }