O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Database Utilities

Whereas DataContext enables you to create and delete a database file, a custom class, called DatabaseUtility, is used to directly create and delete the database in isolated storage and to build the connection string for the database.

TwitterDatabaseUtility extends the DatabaseUtility class, providing the default database filename. TwitterDatabaseUtility is used in various locations to create a DataContext for the Twitter database.

Image

DatabaseUtility includes an InitializeDatabase method that creates the isolated storage file for the database. When it is called, if the wipe parameter is true and the database already exists, it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required