You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project, I may need to use asynchronous database operations, and if the Connection Type uses Direct, an IO exception is thrown: The process cannot access the file 'xxx.ipconfig.db' because it is being used by another process.
Using Shared does solve my problem, but is it the right, best practice? More importantly, does it break the database? (Although I haven't encountered a database being corrupted)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my project, I may need to use asynchronous database operations, and if the
Connection Type
usesDirect
, an IO exception is thrown:The process cannot access the file 'xxx.ipconfig.db' because it is being used by another process
.Using
Shared
does solve my problem, but is it the right, best practice? More importantly, does it break the database? (Although I haven't encountered a database being corrupted)IPConfigListViewModel.cs#L267-L277
LiteDbHelper.cs
Beta Was this translation helpful? Give feedback.
All reactions