tags:

views:

169

answers:

4

I am looking for a local, relational datastore for a .net application.
The datastore should ideally behave as a basic database with SQL for data retrieval and definition and transaction capability. It should not need a server and be easy to redistribute (i.e. only need a dll in the app to access a single db file).
No support for access over the network is needed. It should provide a .net data provider and support linq-to-sql, as the purpose for this app is too deepen my skills in .NET 3.5.

Any ideas / recommendations for libraries / technologies that worked well for you in similar circumstances?

+2  A: 

SQLite, maybe?

whichdan
+1  A: 

SQL Server CE

dommer
+2  A: 

If you want Linq to Sql then you must use a variant MSSQL. SQL Server Compact edition is the most light-weight database that supports Linq to Sql but you may want to go for Express edition instead since it supports stored procedures and other nice things.

Rune Grimstad
From what I gather, you can use any DB with a Linq to SQL provider. See http://kubasik.net/blog/2009/02/09/using-linq-to-sqlite-providers-updated/ for a Linq to SQL provider for SQLite.
Einar
If I understand it correctly they use Linq to Entities there, not Linq to Sql. Not that the difference is huge... :-)
Rune Grimstad
A: 

Sql server Express