SlideShare a Scribd company logo
Building Windows Phone Database
App Using MVVM Pattern
Fiyaz Bin Hasan
Microsoft Student Partner
Topic to cover
Brief look at MVVM
LINQ to SQL
Data context
Creating a database app (All We Are)
MVVM
http://msdn.microsoft.com/en-us/library/gg405484(v=pandp.40).aspx
LINQ to SQL
Used 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
Data Context
A 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
Project overview
Important Links
ICommand
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
Ad

Recommended

Play With Windows Phone Local Database
Play With Windows Phone Local Database
Fiyaz Hasan
 
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
 
Building nTier Applications with Entity Framework Services
Building nTier Applications with Entity Framework Services
David McCarter
 
Salesforce connect
Salesforce connect
Lalit Chandnani
 
Untapped potential: Using WordPress as an Info Management tool
Untapped potential: Using WordPress as an Info Management tool
DaruSharp
 
E sx presentation
E sx presentation
sharanr12
 
Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)
David McCarter
 
Real World Sql Azure
Real World Sql Azure
James Johnson
 
SQLite forensics - Free Lists, unallocated space, carving
SQLite forensics - Free Lists, unallocated space, carving
Dmitry Kirillin
 
Flexible Resources In 3 6 And E4
Flexible Resources In 3 6 And E4
szbra
 
Tech WG report 2011
Tech WG report 2011
Datasets at the British Library
 
Web Programming - 8 Database, Model and Eloquent
Web Programming - 8 Database, Model and Eloquent
AndiNurkholis1
 
Learn Entity Framework in a day with Code First, Model First and Database First
Learn Entity Framework in a day with Code First, Model First and Database First
Jibran Rasheed Khan
 
Introducing Entity Framework 4.0
Introducing Entity Framework 4.0
Bishoy Demian
 
Practical approaches to entification in library bibliographic data
Practical approaches to entification in library bibliographic data
Terry Reese
 
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
 
Web Programming - 9 Create, Read, Update and Delete
Web Programming - 9 Create, Read, Update and Delete
AndiNurkholis1
 
Sq lite
Sq lite
IFADHA KADI
 
Mdst 3559-04-21-data-2
Mdst 3559-04-21-data-2
Rafael Alvarado
 
Entity Extraction from Natural Language Text using Apache NiFi and Idyl E3
Entity Extraction from Natural Language Text using Apache NiFi and Idyl E3
Mountain Fog
 
Web Programming - 10 JavaScript
Web Programming - 10 JavaScript
AndiNurkholis1
 
RapidApp presentation for Cincinnati.pm
RapidApp presentation for Cincinnati.pm
Henry Van Styn
 
Hibernate training-topics
Hibernate training-topics
Vibrant Technologies & Computers
 
Entity framework and how to use it
Entity framework and how to use it
nspyre_net
 
ADO.NET Entity Framework
ADO.NET Entity Framework
Hasnain Iqbal
 
Fitting MarcEdit into the library software ecosystem
Fitting MarcEdit into the library software ecosystem
Terry Reese
 
C# Framework class library
C# Framework class library
Prem Kumar Badri
 
Amundsen at Brex and Looker integration
Amundsen at Brex and Looker integration
markgrover
 
MVC Application using EntityFramework Code-First approach Part4
MVC Application using EntityFramework Code-First approach Part4
Akhil Mittal
 
Using SQL Local Database in Mobile Applications
Using SQL Local Database in Mobile Applications
Mihail Mateev
 

More Related Content

What's hot (20)

SQLite forensics - Free Lists, unallocated space, carving
SQLite forensics - Free Lists, unallocated space, carving
Dmitry Kirillin
 
Flexible Resources In 3 6 And E4
Flexible Resources In 3 6 And E4
szbra
 
Tech WG report 2011
Tech WG report 2011
Datasets at the British Library
 
Web Programming - 8 Database, Model and Eloquent
Web Programming - 8 Database, Model and Eloquent
AndiNurkholis1
 
Learn Entity Framework in a day with Code First, Model First and Database First
Learn Entity Framework in a day with Code First, Model First and Database First
Jibran Rasheed Khan
 
Introducing Entity Framework 4.0
Introducing Entity Framework 4.0
Bishoy Demian
 
Practical approaches to entification in library bibliographic data
Practical approaches to entification in library bibliographic data
Terry Reese
 
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
 
Web Programming - 9 Create, Read, Update and Delete
Web Programming - 9 Create, Read, Update and Delete
AndiNurkholis1
 
Sq lite
Sq lite
IFADHA KADI
 
Mdst 3559-04-21-data-2
Mdst 3559-04-21-data-2
Rafael Alvarado
 
Entity Extraction from Natural Language Text using Apache NiFi and Idyl E3
Entity Extraction from Natural Language Text using Apache NiFi and Idyl E3
Mountain Fog
 
Web Programming - 10 JavaScript
Web Programming - 10 JavaScript
AndiNurkholis1
 
RapidApp presentation for Cincinnati.pm
RapidApp presentation for Cincinnati.pm
Henry Van Styn
 
Hibernate training-topics
Hibernate training-topics
Vibrant Technologies & Computers
 
Entity framework and how to use it
Entity framework and how to use it
nspyre_net
 
ADO.NET Entity Framework
ADO.NET Entity Framework
Hasnain Iqbal
 
Fitting MarcEdit into the library software ecosystem
Fitting MarcEdit into the library software ecosystem
Terry Reese
 
C# Framework class library
C# Framework class library
Prem Kumar Badri
 
Amundsen at Brex and Looker integration
Amundsen at Brex and Looker integration
markgrover
 
SQLite forensics - Free Lists, unallocated space, carving
SQLite forensics - Free Lists, unallocated space, carving
Dmitry Kirillin
 
Flexible Resources In 3 6 And E4
Flexible Resources In 3 6 And E4
szbra
 
Web Programming - 8 Database, Model and Eloquent
Web Programming - 8 Database, Model and Eloquent
AndiNurkholis1
 
Learn Entity Framework in a day with Code First, Model First and Database First
Learn Entity Framework in a day with Code First, Model First and Database First
Jibran Rasheed Khan
 
Introducing Entity Framework 4.0
Introducing Entity Framework 4.0
Bishoy Demian
 
Practical approaches to entification in library bibliographic data
Practical approaches to entification in library bibliographic data
Terry Reese
 
Building nTier Applications with Entity Framework Services (Part 1)
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
 
Web Programming - 9 Create, Read, Update and Delete
Web Programming - 9 Create, Read, Update and Delete
AndiNurkholis1
 
Entity Extraction from Natural Language Text using Apache NiFi and Idyl E3
Entity Extraction from Natural Language Text using Apache NiFi and Idyl E3
Mountain Fog
 
Web Programming - 10 JavaScript
Web Programming - 10 JavaScript
AndiNurkholis1
 
RapidApp presentation for Cincinnati.pm
RapidApp presentation for Cincinnati.pm
Henry Van Styn
 
Entity framework and how to use it
Entity framework and how to use it
nspyre_net
 
ADO.NET Entity Framework
ADO.NET Entity Framework
Hasnain Iqbal
 
Fitting MarcEdit into the library software ecosystem
Fitting MarcEdit into the library software ecosystem
Terry Reese
 
C# Framework class library
C# Framework class library
Prem Kumar Badri
 
Amundsen at Brex and Looker integration
Amundsen at Brex and Looker integration
markgrover
 

Similar to Building Windows Phone Database App Using MVVM Pattern (20)

MVC Application using EntityFramework Code-First approach Part4
MVC Application using EntityFramework Code-First approach Part4
Akhil Mittal
 
Using SQL Local Database in Mobile Applications
Using SQL Local Database in Mobile Applications
Mihail Mateev
 
Portable Class Libraries and MVVM
Portable Class Libraries and MVVM
Andreas Kuntner
 
Advanced MVVM in Windows 8
Advanced MVVM in Windows 8
Gill Cleeren
 
Adopting MVVM
Adopting MVVM
John Cumming
 
WPF and Databases
WPF and Databases
Doncho Minkov
 
09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP
Nguyen Tuan
 
10.Local Database & LINQ
10.Local Database & LINQ
Nguyen Tuan
 
MVVM Presentation.pptx
MVVM Presentation.pptx
AsfandyarZaidi
 
Android Architecture Components
Android Architecture Components
Darshan Parikh
 
XAML Development with Xamarin - Jesse Liberty | FalafelCON 2014
XAML Development with Xamarin - Jesse Liberty | FalafelCON 2014
FalafelSoftware
 
Building an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernate
bwullems
 
Session 8 connect your universal application with database .. builders & deve...
Session 8 connect your universal application with database .. builders & deve...
Moatasim Magdy
 
MVVM.pptx
MVVM.pptx
fhaye214
 
MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )
Ahmed Emad
 
Persistence in Android
Persistence in Android
ma-polimi
 
Applied MVVM in Windows 8 apps: not your typical MVVM session!
Applied MVVM in Windows 8 apps: not your typical MVVM session!
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
Training: MVVM Pattern
Training: MVVM Pattern
Betclic Everest Group Tech Team
 
MvvmCross
MvvmCross
ross.dargan
 
MVVM - Model View ViewModel
MVVM - Model View ViewModel
Dareen Alhiyari
 
MVC Application using EntityFramework Code-First approach Part4
MVC Application using EntityFramework Code-First approach Part4
Akhil Mittal
 
Using SQL Local Database in Mobile Applications
Using SQL Local Database in Mobile Applications
Mihail Mateev
 
Portable Class Libraries and MVVM
Portable Class Libraries and MVVM
Andreas Kuntner
 
Advanced MVVM in Windows 8
Advanced MVVM in Windows 8
Gill Cleeren
 
09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP
Nguyen Tuan
 
10.Local Database & LINQ
10.Local Database & LINQ
Nguyen Tuan
 
MVVM Presentation.pptx
MVVM Presentation.pptx
AsfandyarZaidi
 
Android Architecture Components
Android Architecture Components
Darshan Parikh
 
XAML Development with Xamarin - Jesse Liberty | FalafelCON 2014
XAML Development with Xamarin - Jesse Liberty | FalafelCON 2014
FalafelSoftware
 
Building an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernate
bwullems
 
Session 8 connect your universal application with database .. builders & deve...
Session 8 connect your universal application with database .. builders & deve...
Moatasim Magdy
 
MVVM ( Model View ViewModel )
MVVM ( Model View ViewModel )
Ahmed Emad
 
Persistence in Android
Persistence in Android
ma-polimi
 
MVVM - Model View ViewModel
MVVM - Model View ViewModel
Dareen Alhiyari
 
Ad

More from Fiyaz Hasan (8)

Hands free with cortana
Hands free with cortana
Fiyaz Hasan
 
Up & Running with Polymer
Up & Running with Polymer
Fiyaz Hasan
 
Preventing XSRF in ASP.NET CORE apps
Preventing XSRF in ASP.NET CORE apps
Fiyaz Hasan
 
Azure push notification hub
Azure push notification hub
Fiyaz Hasan
 
What’s new in C# 6
What’s new in C# 6
Fiyaz Hasan
 
Tales of Two Brothers
Tales of Two Brothers
Fiyaz Hasan
 
When You Cant Code You Can Blend
When You Cant Code You Can Blend
Fiyaz Hasan
 
Walk in the shoe of angular
Walk in the shoe of angular
Fiyaz Hasan
 
Hands free with cortana
Hands free with cortana
Fiyaz Hasan
 
Up & Running with Polymer
Up & Running with Polymer
Fiyaz Hasan
 
Preventing XSRF in ASP.NET CORE apps
Preventing XSRF in ASP.NET CORE apps
Fiyaz Hasan
 
Azure push notification hub
Azure push notification hub
Fiyaz Hasan
 
What’s new in C# 6
What’s new in C# 6
Fiyaz Hasan
 
Tales of Two Brothers
Tales of Two Brothers
Fiyaz Hasan
 
When You Cant Code You Can Blend
When You Cant Code You Can Blend
Fiyaz Hasan
 
Walk in the shoe of angular
Walk in the shoe of angular
Fiyaz Hasan
 
Ad

Recently uploaded (20)

Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 

Building Windows Phone Database App Using MVVM Pattern