示例#1
0
        public void RecordSavedChanges(IDocumentSession session, IChangeSet commit)
        {
            LastSession = session;
            LastCommit  = commit.Clone();

            Commits.Add(commit);
        }
示例#2
0
 public override void AfterCommit(IDocumentSession session, IChangeSet commit)
 {
     LastCommit         = commit.Clone();
     AfterCommitSession = session;
 }
示例#3
0
 public override Task AfterCommitAsync(IDocumentSession session, IChangeSet commit, CancellationToken token)
 {
     LastCommit         = commit.Clone();
     AfterCommitSession = session;
     return(Task.CompletedTask);
 }