public long GetMaxSequenceNumber(string entityId) { Log("GetMaxSequenceNumber ", entityId); var data = persistableEntityRepository.GetMaxSequenceNumber(entityId); Log("Got data : ", data); return(data); }
public override Task <long> ReadHighestSequenceNrAsync(string persistenceId, long fromSequenceNr) { return(Task.FromResult(repository.GetMaxSequenceNumber(persistenceId))); }