http://windowsphonegeek.com/tips/Windows-Phone-Mango-Local-Database(SQL-CE)-Introduction
Windows Phone Mango Local Database(SQL CE): Introduction published on: 6/22/2011 | Views: 5577 | Tags: MangoLocalDB
Rate Now!
by WindowsPhoneGeek
I am starting a new "Windows Phone Mango Local Database(SQL CE)" series of short posts that will cover all you need to know in order to get started using a Local Database in Windows Phone 7.1 Mango. Here is what is included in this series:
This is the first post so I am going to give a brief explanation of what a Local Database is and what else you need to know before getting started using SQL CE in Windows Phone 7.1 Mango applications.
What is Local Database?
To begin with, lets first mention that with Windows Phone 7.1 Mango, you can now store relational data in a Local Database stored in your application's Isolated Storage. In Windows Phone all applications are "isolated" from each other, which means that one application can access only its own Isolated Storage. I.e one database can be used only from one application and can not be shared between several applications.
Local database in Windows Phone 7.1 is an implementation of SQL Compact for Mango. It is an in memory/embedded relational database management system (RDB MS). Local databases are very suitable for scenarios where you have related entities for example: Customers and Orders.
The following scenarios are perfect for local database usage:
A local database offers the following advantages:
Here is the Process that you need to follow in order to use a Local Database in Windows Phone:
8 Things you need to know about SQL CE before you begin
You can also take a look at the MSDN section: Local Database Overview for Windows Phone
That was the intro post of the "Windows Phone Mango Local Database(SQL CE)" series of articles. Stay tuned for the rest of the posts.