vendredi 2 octobre 2015

Sqlite multiple connections (2+ apps) to the same db (C#, WPF)

My C# WPF application using Sqlite database (SqlServerCe 4),
everything works fine.
But when I want to run multiple instances of that app,
I have problem: i can't open more than 1 connection at the same time,
As I understood sqlite allow multiple reads but only 1 write at a time,
I get: "there is a file sharing violation a different process might be using the file" error
What to do to fix it?
if some info is missing tell me about it in a comment

Aucun commentaire:

Enregistrer un commentaire