Connect to sqlite db in isolated storage

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
Fretek
Posts: 8
Joined: Sun 13 Mar 2011 12:03

Connect to sqlite db in isolated storage

Post by Fretek » Sun 07 Oct 2012 08:50

Do you have any examples of how using LinqConnect Silverlight to connect to a sqlite database located in isolated storage?

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Connect to sqlite db in isolated storage

Post by MariiaI » Tue 09 Oct 2012 08:42

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.

Post Reply