Murtaza Fazal's Blog

Murtaza Fazal's Blog
Murtaza Fazal's Blog

Monday, June 6, 2011

Migrating from 7.0 to 7.1(mango) beta - Windows Phone 7

 MANGO - Database

If you want to use the new built-in database in your already created windows phone 7.0 application. You need to do the following things
  1. Change the Framework from 7.0 to 7.1
  2. Add Reference to System.Data.Linq and mscorlib.extensions (most of the websites do not include this, and if you do not add reference to this, you would not be able to implement the interface INotifyPropertyChanging)
  3. Last but not the least , include the following directives
    • using System.Data.Linq;
    • using System.Data.Linq.Mapping;
    • using System.ComponentModel;
    • using System.Collections.ObjectModel;
Now you are good to go :) you may refer to the following link for assistance in creating database and how to use it:
 http://msdn.microsoft.com/en-us/library/hh202876(v=vs.92).aspx 

No comments:

Post a Comment