Exception:集合在枚举数实例化后进行了修改。

报错信息 1
InvalidOperationException: 集合在枚举数实例化后进行了修改。
StackTrace:
   在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   在 System.Collections.Generic.Queue`1.Enumerator.MoveNext()
   在 System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   在 FreeSql.DbContext.FlushCommand()
   在 FreeSql.DbSet`1.DbContextFlushCommand()
   在 FreeSql.DbSet`1.AddPriv(TEntity data, Boolean isCheck)
   在 FreeSql.DbSet`1.Add(TEntity data)
   在 FreeSql.BaseRepository`1.Insert(TEntity entity)
   在 IntelliTools.Domain.MyClipboard.ClipItem.CreateAndSave(ClipItemBase item)
   在 IntelliTools.View.BackgroundWindow.CollectClipItem(ClipItemBase item)
   在 IntelliTools.View.BackgroundWindow.LasyOnClipboardChanged()
   在 IntelliTools.View.BackgroundWindow.Timer_Tick(Object sender, EventArgs e)
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.42.34 2024-05-05 08:59 Microsoft Windows NT 10.0.19045.0