Exception:無法存取已處置的物件。 物件名稱: '【FreeSql: Master Database】The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079'。無法存取已處置的物件。 物件名稱: '【FreeSql: Master Database】The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079'。

报错信息

Exception
   於 FreeSql.Internal.CommonProvider.AdoProvider.LoggerException(IObjectPool`1 pool, PrepareCommandResult pc, Exception ex, DateTime dt, StringBuilder logtxt, Boolean isThrowException)
   於 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, Action`1 cmdAfterHandler, DbParameter[] cmdParms)
   於 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, DbParameter[] cmdParms)
   於 FreeSql.Internal.CommonProvider.UpdateProvider`1.<>c__DisplayClass18_0.<RawExecuteAffrows>b__0(StringBuilder sb)
   於 FreeSql.Internal.CommonProvider.UpdateProvider`1.ToSqlFetch(Action`1 fetch)
   於 FreeSql.Internal.CommonProvider.UpdateProvider`1.RawExecuteAffrows()
   於 FreeSql.Internal.CommonProvider.UpdateProvider`1.SplitExecuteAffrows(Int32 valuesLimit, Int32 parameterLimit)
   於 FreeSql.Sqlite.Curd.SqliteUpdate`1.ExecuteAffrows()
   於 FreeSql.DbSet`1.DbContextBatchUpdatePriv(EntityState[] ups, Boolean isLiveUpdate)
   於 FreeSql.DbSet`1.DbContextBatchUpdateNow(EntityState[] ups)
   於 lambda_method(Closure , Object , Object[] )
   於 FreeSql.DbContext.<>c__DisplayClass67_0.<FlushCommand>g__dbsetBatch|0(String method)
   於 FreeSql.DbContext.<>c__DisplayClass67_0.<FlushCommand>g__funcUpdate|3(Boolean isLiveUpdate)
   於 FreeSql.DbContext.FlushCommand()
   於 FreeSql.RepositoryDbContext.SaveChanges()
   於 FreeSql.BaseRepository`1.Update(TEntity entity)
   於 IntelliTools.Domain.Entities.TaskTimer`1.<>c__DisplayClass0_0.<.ctor>b__0(Object s, 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)

ObjectDisposedException
無法存取已處置的物件。
物件名稱: '【FreeSql: Master Database】The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079'。
   於 FreeSql.Internal.ObjectPool.ObjectPool`1.GetFree(Boolean checkAvailable)
   於 FreeSql.Internal.ObjectPool.ObjectPool`1.Get(Nullable`1 timeout)
   於 FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, Action`1 cmdAfterHandler, DbParameter[] cmdParms) 

解决方法

暂无解决方案。

相关信息
0 查看
2023-10-27 06:26
Quicker版本
版本 反馈次数