We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5570a3c commit 83d588aCopy full SHA for 83d588a
src/NHibernate/Event/Default/AbstractFlushingEventListener.cs
@@ -1,6 +1,7 @@
1
using System;
2
using System.Collections;
3
using System.Collections.Generic;
4
+using System.Linq;
5
using System.Text;
6
7
using NHibernate.Action;
@@ -80,7 +81,7 @@ protected virtual void FlushEverythingToExecutions(FlushEvent @event)
80
81
.Append(" removals to ").Append(persistenceContext.CollectionEntries.Count).Append(" collections");
82
83
log.Debug(sb.ToString());
- new Printer(session.Factory).ToString(persistenceContext.EntitiesByKey.Values.GetEnumerator(), session.EntityMode);
84
+ new Printer(session.Factory).ToString(persistenceContext.EntitiesByKey.Values.ToArray().GetEnumerator(), session.EntityMode);
85
}
86
87
0 commit comments