Read original post at .NET Rumbles
Lately I have been developing Windows Phone 7.5 application as part of the I Unlock Joy program. If you have followed development in Windows Phone 7 world, you will know that WP7.5 code named Mango now supports local database support for applications. So you can now develop application which have local DB support. The data base supported is SQL CE 3.5 and the data access technology is LINQ 2 SQL. Many examples on the internet will usually guide you to declare the connection string within the data context as a static string and declare it inline or a static string in the App class.