Read-only database file access...

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
jpapp
Posts: 3
Joined: Thu 26 Apr 2012 20:19

Read-only database file access...

Post by jpapp » Tue 23 Oct 2012 23:57

Hi,

We are using dotConnect for SQLite, version 3.80.314.0 of the Professional edition and are having difficulties with accessing read-only databases.

Does this version (or any later version for that matter) support some type of shared read only connection string to allow SQLite to work with read-only databases?

We double checked the documentation and did not see any mention nor did we find any reference in the DLLs using Reflector (though we could have missed it since it is obfuscated). The SQLiteConnectionStringBuilder also does not have any properties that seem to address this functionality.

For this to work you would need to support the SQLITE_OPEN_READONLY bit flag to the sqlite3_open_v2 API.

Any information on this would be greatly appreciated.

Thanks much,
James.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: Read-only database file access...

Post by Pinturiccio » Thu 25 Oct 2012 14:01

We are investigating the possibility of implementing the connection string parameter for connecting to a read-only database.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: Read-only database file access...

Post by Pinturiccio » Wed 31 Oct 2012 12:12

We have implemented Read-Only connection string parameter for establishing a connection in the read-only mode. We will post here when the corresponding build of dotConnect for SQLite is available for download.

jpapp
Posts: 3
Joined: Thu 26 Apr 2012 20:19

Re: Read-only database file access...

Post by jpapp » Thu 01 Nov 2012 22:59

You guys are the best; I recommend your product for SQLite whenever the subject comes up.

Thanks much,
James.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: Read-only database file access...

Post by Pinturiccio » Fri 02 Nov 2012 14:15

The new build of dotConnect for SQLite 4.2.114 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/sqlite/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?t=25197

Post Reply