SlideShare a Scribd company logo
1 of 7
Advanced ADO.NET Peter Ty MCSD, MCDBA, MCP+SB, MCSE Developer Evangelist Microsoft Hong Kong Ltd. [email_address]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to ADO.NET What is ADO.NET? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to ADO.NET Why ADO.NET? ,[object Object],[object Object],[object Object],[object Object]
Introduction to ADO.NET Comparison Between ADO and ADO.NET Feature ADO ADO.NET Memory-resident Data Representation RecordSet can contain one table DataSet can contain one or more tables represented by DataTable Object Relationship Between Multiple Tables Require the JOIN query Supports the DataRelation object Data Visitation Scans RecordSet rows sequentially Uses a navigation paradigm for non-sequential access Disconnected Access Provided by RecordSet but typically supports connected access Communicates with standardized calls to the DataAdapter
Introduction to ADO.NET Comparison Between ADO and ADO.NET Feature ADO ADO.NET Programmability Uses Connection object to transmit commands Uses strongly typed programming characteristics of XML Sharing Disconnected Data Between Tiers or Components Uses COM marshalling to transmit disconnected record set Transmits a DataSet with an XML file Transmitting Data Through Firewalls Problematic because firewall are typically configured to prevent system-level requests Supported, DataSet object use XML, which can pass through firewalls Scalability Database locks and active database connections for long durations Disconnected access to database data without retaining database locks
Introduction to ADO.NET Managed Data Overview Managed Provider DataReader Command Connection DataAdapter Sync Controls, Designers, Code-gen, etc DataSet XmlReader XmlText- Reader XmlNode- Reader XSL/T, X-Path, Validation, etc XmlData- Document

More Related Content

Viewers also liked (20)

Changing The Game 3.0
Changing The Game 3.0Changing The Game 3.0
Changing The Game 3.0
 
maryfer xoxiitha
maryfer xoxiithamaryfer xoxiitha
maryfer xoxiitha
 
Womenstds[1]
Womenstds[1]Womenstds[1]
Womenstds[1]
 
Samsung YP-S3 mp3 player
Samsung YP-S3 mp3 playerSamsung YP-S3 mp3 player
Samsung YP-S3 mp3 player
 
Instedd: Mobile Collaboration for Disaster Response
Instedd: Mobile Collaboration for Disaster ResponseInstedd: Mobile Collaboration for Disaster Response
Instedd: Mobile Collaboration for Disaster Response
 
Lorient Saint Barth
Lorient Saint BarthLorient Saint Barth
Lorient Saint Barth
 
Línea de Extinción
Línea de ExtinciónLínea de Extinción
Línea de Extinción
 
PromocõEs Drjeebrazil
PromocõEs DrjeebrazilPromocõEs Drjeebrazil
PromocõEs Drjeebrazil
 
Crisismundiale303
Crisismundiale303Crisismundiale303
Crisismundiale303
 
Estrelas Full Residence Chl
Estrelas Full Residence ChlEstrelas Full Residence Chl
Estrelas Full Residence Chl
 
Ashleyandrews
AshleyandrewsAshleyandrews
Ashleyandrews
 
Celebrating Idaho
Celebrating IdahoCelebrating Idaho
Celebrating Idaho
 
conceptual proposal
conceptual proposalconceptual proposal
conceptual proposal
 
0855955 The Slim Image
0855955 The Slim Image0855955 The Slim Image
0855955 The Slim Image
 
Nolopermitas
NolopermitasNolopermitas
Nolopermitas
 
Java Sip Specifications
Java Sip SpecificationsJava Sip Specifications
Java Sip Specifications
 
Kuulsuste Galerii
Kuulsuste GaleriiKuulsuste Galerii
Kuulsuste Galerii
 
Arte Y Holocausto
Arte Y HolocaustoArte Y Holocausto
Arte Y Holocausto
 
Mc Boas Vindas Drjeebrazil
Mc Boas Vindas DrjeebrazilMc Boas Vindas Drjeebrazil
Mc Boas Vindas Drjeebrazil
 
05
0505
05
 

Similar to 6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf

Ado.net & data persistence frameworks
Ado.net & data persistence frameworksAdo.net & data persistence frameworks
Ado.net & data persistence frameworksLuis Goldster
 
Is2215 lecture7 lecturer_ado_intro
Is2215 lecture7 lecturer_ado_introIs2215 lecture7 lecturer_ado_intro
Is2215 lecture7 lecturer_ado_introdannygriff1
 
Introduction to ado
Introduction to adoIntroduction to ado
Introduction to adoHarman Bajwa
 
Ado.Net Architecture
Ado.Net ArchitectureAdo.Net Architecture
Ado.Net ArchitectureUmar Farooq
 
ADO .NET by Sonu Vishwakarma
ADO .NET by Sonu VishwakarmaADO .NET by Sonu Vishwakarma
ADO .NET by Sonu VishwakarmaSonu Vishwakarma
 
Silverlight 2.0
Silverlight 2.0Silverlight 2.0
Silverlight 2.0Dave Allen
 
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsIntroducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsLucas Jellema
 
Interoperability issues in accessing databases through Web Services
Interoperability issues in accessing databases through Web ServicesInteroperability issues in accessing databases through Web Services
Interoperability issues in accessing databases through Web Servicesinfopapers
 
Asp.net interview questions
Asp.net interview questionsAsp.net interview questions
Asp.net interview questionsAkhil Mittal
 
ASP.NET 3.5 SP1
ASP.NET 3.5 SP1ASP.NET 3.5 SP1
ASP.NET 3.5 SP1Dave Allen
 
ASP.NET Session 11 12
ASP.NET Session 11 12ASP.NET Session 11 12
ASP.NET Session 11 12Sisir Ghosh
 

Similar to 6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf (20)

Ado.net & data persistence frameworks
Ado.net & data persistence frameworksAdo.net & data persistence frameworks
Ado.net & data persistence frameworks
 
Ado.net
Ado.netAdo.net
Ado.net
 
Ado Net
Ado NetAdo Net
Ado Net
 
ADO .Net
ADO .Net ADO .Net
ADO .Net
 
Is2215 lecture7 lecturer_ado_intro
Is2215 lecture7 lecturer_ado_introIs2215 lecture7 lecturer_ado_intro
Is2215 lecture7 lecturer_ado_intro
 
Session x(ado.net)
Session x(ado.net)Session x(ado.net)
Session x(ado.net)
 
Ado.Net Tutorial
Ado.Net TutorialAdo.Net Tutorial
Ado.Net Tutorial
 
PPT temp.pptx
PPT temp.pptxPPT temp.pptx
PPT temp.pptx
 
Introduction to ado
Introduction to adoIntroduction to ado
Introduction to ado
 
Ado
AdoAdo
Ado
 
Ado.Net Architecture
Ado.Net ArchitectureAdo.Net Architecture
Ado.Net Architecture
 
ADO .NET by Sonu Vishwakarma
ADO .NET by Sonu VishwakarmaADO .NET by Sonu Vishwakarma
ADO .NET by Sonu Vishwakarma
 
Silverlight 2.0
Silverlight 2.0Silverlight 2.0
Silverlight 2.0
 
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsIntroducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
 
Day4
Day4Day4
Day4
 
Interoperability issues in accessing databases through Web Services
Interoperability issues in accessing databases through Web ServicesInteroperability issues in accessing databases through Web Services
Interoperability issues in accessing databases through Web Services
 
Asp.net interview questions
Asp.net interview questionsAsp.net interview questions
Asp.net interview questions
 
ASP.NET 3.5 SP1
ASP.NET 3.5 SP1ASP.NET 3.5 SP1
ASP.NET 3.5 SP1
 
ASP.NET Session 11 12
ASP.NET Session 11 12ASP.NET Session 11 12
ASP.NET Session 11 12
 
Ado .net
Ado .netAdo .net
Ado .net
 

6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf

  • 1. Advanced ADO.NET Peter Ty MCSD, MCDBA, MCP+SB, MCSE Developer Evangelist Microsoft Hong Kong Ltd. [email_address]
  • 2.
  • 3.
  • 4.
  • 5. Introduction to ADO.NET Comparison Between ADO and ADO.NET Feature ADO ADO.NET Memory-resident Data Representation RecordSet can contain one table DataSet can contain one or more tables represented by DataTable Object Relationship Between Multiple Tables Require the JOIN query Supports the DataRelation object Data Visitation Scans RecordSet rows sequentially Uses a navigation paradigm for non-sequential access Disconnected Access Provided by RecordSet but typically supports connected access Communicates with standardized calls to the DataAdapter
  • 6. Introduction to ADO.NET Comparison Between ADO and ADO.NET Feature ADO ADO.NET Programmability Uses Connection object to transmit commands Uses strongly typed programming characteristics of XML Sharing Disconnected Data Between Tiers or Components Uses COM marshalling to transmit disconnected record set Transmits a DataSet with an XML file Transmitting Data Through Firewalls Problematic because firewall are typically configured to prevent system-level requests Supported, DataSet object use XML, which can pass through firewalls Scalability Database locks and active database connections for long durations Disconnected access to database data without retaining database locks
  • 7. Introduction to ADO.NET Managed Data Overview Managed Provider DataReader Command Connection DataAdapter Sync Controls, Designers, Code-gen, etc DataSet XmlReader XmlText- Reader XmlNode- Reader XSL/T, X-Path, Validation, etc XmlData- Document