I am trying to use the shared cache function in SQLite 3.7.13 memory through the ADO.NET provider. The following connection string works, but gives a non-shared db cache:
Data Source=:memory:
When I try any of them:
Data Source=:memory:?cache=shared Data Source=file::memory:?cache=shared Data Source=file:x?mode=memory&cache=shared
When opening a connection, I get the following ArgumentException :
Invalid ConnectionString format for parameter "Data Source"
What should be the connection string for SQLite in the cache sharing database?
source share