Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part IV. Building Windows Phone Data Dri... > Chapter 26. Local Databases

Chapter 26. Local Databases


In This Chapter

Code-first and database-first data model creation

Differences between isolated storage and XAP file deployment

Change tracking with LINQ to SQL

Defining one-to-many relationships

Retrieving a local database from isolated storage

Using SqlMetal to generate your data model

Deploying a prepopulated database to isolated storage

A testable navigation service

Schema versioning

Mapping inheritance hierarchies

Controlling optimistic concurrency

A Twitter timeline viewer


For some apps, having to rely on a cloud service for storing application data is not practical. Some scenarios cry out for local storage of structured data on the phone.

With the Mango release of Windows Phone (7.5), Microsoft introduced a relational database system to the phone, allowing you to place a local database in either isolated storage or in your app’s XAP file.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint