Page 1 of 1

Connect to sqlite db in isolated storage

Posted: Sun 07 Oct 2012 08:50
by Fretek
Do you have any examples of how using LinqConnect Silverlight to connect to a sqlite database located in isolated storage?

Re: Connect to sqlite db in isolated storage

Posted: Tue 09 Oct 2012 08:42
by MariiaI
To connect to a sqlite database that is located in isolated storage, please use the following code:

Code: Select all

YourDataContext db = new YourDataContext(@"Data Source=path\to\database");
where path\to\database is a relative path to the file within isolated storage.

Some documentation regarding this topic is available here http://www.devart.com/linqconnect/silve ... nnect.html

Please tell us if this helps.