Exception: attempt to write a readonly database attempt to write a readonly database StackTrace: at FreeSql.Internal.CommonProvider.AdoProvider.LoggerException(IObjectPool`1 pool, PrepareCommandResult pc, Exception ex, DateTime dt, StringBuilder logtxt, Boolean isThrowException) at FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, Action`1 cmdAfterHandler, DbParameter[] cmdParms) at FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, DbParameter[] cmdParms) at FreeSql.Internal.CommonProvider.UpdateProvider`1.<>c__DisplayClass18_0.<RawExecuteAffrows>b__0(StringBuilder sb) at FreeSql.Internal.CommonProvider.UpdateProvider`1.ToSqlFetch(Action`1 fetch) at FreeSql.Internal.CommonProvider.UpdateProvider`1.RawExecuteAffrows() at FreeSql.Internal.CommonProvider.UpdateProvider`1.SplitExecuteAffrows(Int32 valuesLimit, Int32 parameterLimit) at FreeSql.Sqlite.Curd.SqliteUpdate`1.ExecuteAffrows() at FreeSql.DbSet`1.DbContextBatchUpdatePriv(EntityState[] ups, Boolean isLiveUpdate) at FreeSql.DbSet`1.DbContextBatchUpdateNow(EntityState[] ups) at lambda_method(Closure , Object , Object[] ) at FreeSql.DbContext.<>c__DisplayClass67_0.<FlushCommand>g__dbsetBatch|0(String method) at FreeSql.DbContext.<>c__DisplayClass67_0.<FlushCommand>g__funcUpdate|3(Boolean isLiveUpdate) at FreeSql.DbContext.FlushCommand() at FreeSql.RepositoryDbContext.SaveChanges() at FreeSql.BaseRepository`1.Update(TEntity entity) at IntelliTools.Domain.Entities.TaskTimer`1.<>c__DisplayClass0_0.<.ctor>b__0(Object s, EventArgs e) at System.Windows.Threading.DispatcherTimer.FireTick(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) SQLiteException: attempt to write a readonly database attempt to write a readonly database --ResultCode: ReadOnly --ErrorCode: 8 StackTrace: at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior) at FreeSql.Internal.CommonProvider.AdoProvider.ExecuteNonQuery(DbConnection connection, DbTransaction transaction, CommandType cmdType, String cmdText, Int32 cmdTimeout, Action`1 cmdAfterHandler, DbParameter[] cmdParms)