views:

98

answers:

4

I'm looking to release a really simple application for windows Phone 7. Unfortunately, My Apps need to store some data in the device. say a Database.

My colleague found one SQLite library - http://sviluppomobile.blogspot.com/2010/03/sqlite-for-wp-7-series-proof-of-concept.html

But How about Linq to SQL or EF for Windows Phone 7. Any Library for this?

A: 

You could try using SQL Server Compact.

Info about compact and linq

zaragon
SQL Compact is not an option in the first release of Windows Phone
ctacke
new CE is coming out - http://weblogs.asp.net/scottgu/archive/2010/06/30/new-embedded-database-support-with-asp-net.aspx ,try to validate it. will get back to this post.
Jirapong
"That is something we are looking to enable as well in the future. Not there just yet though :-)" ScottGu said.
Jirapong
+1  A: 

In the initial release of Windows Phone 7 you have no SQL Server Compact or similar. Because no user app can call P/Invoke no other mobile/compact database will work.

To store content you have to use Isolated Storage and build something with this. See this: http://winphone7db.codeplex.com/

Ralf Ehlert
+1 very nice. thank you. I see the test project provide a sample too. will check it out and build sample app with it.
Jirapong
+1  A: 

Perst works well under Windows 7

ctacke
+ 1 . This is very interesting. I didn't realize of Perst before. will run comparison in Dev vs Performance with Winphone7DB.
Jirapong
ok, after testing. I am going with Perst. Thank you very much.
Jirapong
+1  A: 

Jira,

We just came out with Ninja Database Lite for Windows Phone 7, Silverlight, and .NET 3.5 and higher. It is free until October 31st, 2010.

http://www.kellermansoftware.com/t-ninja-forums.aspx

Thanks, Greg

Greg Finzer