Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I've created a database in my windows phone 8 application:

C#
private void Application_Launching(object sender, LaunchingEventArgs e)
 {
     using (CantiContext db = new CantiContext("isostore:/canti.sdf"))
     {
         if (db.DatabaseExists() == false)
         {
             // Create the database.
             db.CantoTable.InsertOnSubmit(new Canto() { Name = "CantoTest" });
             db.SubmitChanges();
         }
     }
 }


Now i want to now how to drop this database for recreate it.

Thanks!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900