public long GetMaxSequenceNumber(string entityId)
        {
            Log("GetMaxSequenceNumber ", entityId);
            var data = persistableEntityRepository.GetMaxSequenceNumber(entityId);

            Log("Got data : ", data);
            return(data);
        }
コード例 #2
0
 public override Task <long> ReadHighestSequenceNrAsync(string persistenceId, long fromSequenceNr)
 {
     return(Task.FromResult(repository.GetMaxSequenceNumber(persistenceId)));
 }