public void RecordSavedChanges(IDocumentSession session, IChangeSet commit) { LastSession = session; LastCommit = commit.Clone(); Commits.Add(commit); }
public override void AfterCommit(IDocumentSession session, IChangeSet commit) { LastCommit = commit.Clone(); AfterCommitSession = session; }
public override Task AfterCommitAsync(IDocumentSession session, IChangeSet commit, CancellationToken token) { LastCommit = commit.Clone(); AfterCommitSession = session; return(Task.CompletedTask); }