Beispiel #1
0
        private IPersistentRepresentation MapRowToPersistentRepresentation(Row row, long deletedTo)
        {
            IPersistentRepresentation pr = Deserialize(row.GetValue <byte[]>("message"));

            if (pr.SequenceNr <= deletedTo)
            {
                pr = pr.Update(pr.SequenceNr, pr.PersistenceId, true, pr.Sender);
            }

            return(pr);
        }
 private static IPersistentRepresentation WithWriter(IPersistentRepresentation p, string writer)
 {
     return(p.Update(p.SequenceNr, p.PersistenceId, p.IsDeleted, p.Sender, writer));
 }
        private static IPersistentRepresentation WithWriter(IPersistentRepresentation p, string writer)
        {
            return p.Update(p.SequenceNr, p.PersistenceId, p.IsDeleted, p.Sender, writer);

        }