Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good "mobile" .NET database that supports LINQ?

I'm in the process of refactoring an application and I've decided to use a mobile/embedded database.

I've been reading about SQL Server Compact Edition, but I was wondering if any of you knew of any other databases that could be used and don't have huge download sizes, as my current application is about ~2MB (installer). SQLite would be nice, but AFAIK the GSoC implementation of LINQ-to-SQLite is rather buggy at the moment.

Thanks!

like image 659
hb. Avatar asked Jan 08 '09 06:01

hb.


2 Answers

I have tried out db40 once (not the compact edition) - it is an object database. However, depending on your needs it may be a rather comfortable thing to use. They note that they support linq even for the compact edition: http://www.db4o.com/s/compactframeworkdb.aspx

like image 100
flq Avatar answered Nov 19 '22 21:11

flq


VistaDB and (as you mentioned) Sql Server Compact Edition are two small options for an embedded database. Sql Server Compact Edition can be used with Linq to SQL or Entity Framework. I believe VistaDB can be used with the Entity Framework.

Also, if you do not require a relational database, you may want to consider db4o. Rob Conery writes about this here.

Hope this helps!

like image 35
Brad Leach Avatar answered Nov 19 '22 20:11

Brad Leach