private Task <IEnumerable <StreamEvent> > GetEntities( Guid streamId, long fromVersion, CancellationToken cancellationToken) { string stateType = _typeResolver.ResolveTypeName <T>(); return(_table.BuildStreamEventQuery(stateType, streamId, fromVersion).ExecuteAsync(cancellationToken)); }
private IQueryable <StreamEvent> BuildStreamEventsQuery(QueueTicket queueTicket) { return(_table.BuildStreamEventQuery(queueTicket)); }