C
C#2y ago
Nemesis

❔ Are SqlCeConnection and SQLiteConnection objects thread safe?

I am trying to read rows from a table in a database parallelly. But my program is throwing different exceptions each time I run my program. I couldn't find any proper documentation on the thread safety of the connection objects. And the information that I did find online was conflicting. So I want to if the connections are thread safe. SQLite official documentation says that SQLite is thread safe if compiled with some flag. But I am not sure if the System.Data.SQLite is using that version of SQLite.
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.