Mango Samples: SQL Toolbox
In recent posts I discussed two ways to add a local database to your Windows Phone applications.
- The first was code-first. This decorates classes and creates the database programmatically.
- The second was SQL Metal. This command-line tool generates the classes for data access.
In this post, we will discuss OPTION 3. I want to show how the free SQL Server Compact Toolkit can add a database.