Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Windows 8 Metro style application support SQL Server CE local database?

I have built a Windows Phone Application using SQL Server CE database.

We need transplant this app to Windows 8 Metro Style.

Do Windows 8 Metro-style applications support SQL Server CE local databases?

like image 265
kai chen Avatar asked Jun 06 '12 06:06

kai chen


People also ask

What is the difference between Windows Server and SQL Server?

The primary difference between SQL Server and Windows Server is what they're made for: SQL Servers store raw data, while Windows Servers allow you to store documents like images, projects, spreadsheets, or Word documents.

Is SQL Server 2008 R2 compatible with Windows Server 2019?

SQL Server 2019 allows you to directly upgrade from SQL Server 2008/R2 and keep the database compatibility to the earlier version.

What SQL Server should I use?

If you only need a small database for development to store data in tables, the SQL Express will be enough. If you do not have too much disk space, the SQL Express will be the best option. If you need to test advanced functionality of SQL Server, the Developer edition is your best choice.


2 Answers

As already answered by ErikEJ, there is no native support for a local SQL Server CE database, but maybe this third party component SQLite is usefull for you?

Tim Heuer has wrote a blogpost about how to use SQLite in a metro style app: http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx

In the blogpost there is also a video with the "How to" steps to use SQLite in your app.

like image 55
ChristiaanV Avatar answered Sep 18 '22 05:09

ChristiaanV


No, currently Microsoft does not provide a local database for Metro applications with C# and XAML.

like image 42
ErikEJ Avatar answered Sep 18 '22 05:09

ErikEJ