Building Windows Phone Database App Using MVVM Pattern

7

Click here to load reader

Transcript of Building Windows Phone Database App Using MVVM Pattern

Page 1: Building Windows Phone Database App Using MVVM Pattern

Building Windows Phone Database App Using MVVM Pattern

Fiyaz Bin HasanMicrosoft Student Partner

Page 2: Building Windows Phone Database App Using MVVM Pattern

Topic to coverBrief look at MVVM

LINQ to SQL

Data context

Creating a database app (All We Are)

Page 3: Building Windows Phone Database App Using MVVM Pattern

MVVM

http://msdn.microsoft.com/en-us/library/gg405484(v=pandp.40).aspx

Page 4: Building Windows Phone Database App Using MVVM Pattern

LINQ to SQLUsed for talking with the local database

Data access in object oriented way

http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202860(v=vs.105).aspx

Page 5: Building Windows Phone Database App Using MVVM Pattern

Data ContextA object that represents the database

Contains a table object, each of which represents a table in the database

Table object is made up of entities

Entities are POCO class with attributes

Page 6: Building Windows Phone Database App Using MVVM Pattern

Project overview

Page 7: Building Windows Phone Database App Using MVVM Pattern

Important LinksICommand

http://www.geekchamp.com/articles/building-a-reusable-icommand-implementation-for-windows-phone-mango-mvvm-apps

WP8 local Database App

http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202876(v=vs.105).aspx

WP8 local database app using MVVM

http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh286405(v=vs.105).aspx