SlideShare a Scribd company logo
Overview of ADO.NET
Architecture of ADO.NET
.NET Data Providers
Data Providers Components
 ADO.NET is a large set of .NET classes that
enable us to retrieve and manipulate data, and
update data.
 As an integral part of the .NET framework, it
shares many of its features:
 sources, in very many different ways.
 features such as multi-language support,
garbage collection, just-in-time compilation,
object-oriented design,
 and dynamic caching, and is far more than an
upgrade of previous versions of ADO.
 The ADO.NET object model consists of two
fundamental components: the Dataset, which
is disconnected from the data source and
doesn't need to know where the data it holds
came from; and the .NET
 data provider. The .NET data providers allow
us to connect to the data source, and to
execute SQL.
 At the time of writing, there are three .NET
data providers available: for SQL Server, for
OLE DB data sources.
 for ODBC-compliant data sources. Each
provider exists in a namespace within the
System. Data namespace, and
 consists of a number of classes.
 Each .NET data provider consists of four main
components:
 Connection – used to connect to the data
source
 Command– used to execute a command
against the data source and retrieve a Data
Reader.
 Dataset, or to execute an INSERT, UPDATE, or
DELETE command against the data source
 Data Reader– a forward-only, read-only
connected result set.
 Data Adapter – used to populate a Dataset
with data from the data source, and to update
the data source
 The connection classes are very similar to the
ADO Connection object, and like that, they are
used to
 represent a connection to a specific data source.
The connection classes store the information
that ADO.NET
 needs to connect to a data source in the form of
a familiar connection string (just as in ADO).
 The command classes expose the
IDbCommand interface and are similar to the
ADO Command object – they
 are used to execute SQL statements or stored
procedures in the data source. Also, like the
ADO Command
 object, the command classes have a Command
Text property, which contains the text of the
command to be
 executed against the data source, and a
Command Type property, which indicates
whether the command is a
 SQL statement, the name of a stored procedure,
or the name of a table.
 The DataReader is ADO.NET's answer to the
connected recordset in ADO. However, the
DataReader is
 forward-only and read-only – we can't navigate
through it at random, and we can't use it to
update the data source. It
 therefore allows extremely fast access to data
that we just want to iterate through once, and it
is recommended to use
 the Data Reader (rather than the DataSet)
wherever possible.
 The other major component of ADO.NET
is the DataSet; this corresponds very
roughly to the ADO
 recordset. It differs, however, in two
important respects. The first of these is
that the DataSet is always
 exactly the same way to manipulate data from
a traditional data source or from an XML
document. In order to
 connect a DataSet to a data source, we need to
use the DataAdapter as an intermediary
between the
 DataSet and the .NET data provider:
Session x(ado.net)
Session x(ado.net)

More Related Content

What's hot

MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
Terry Reese
 
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
Terry Reese
 
WEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NETWEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NET
DhruvVekariya3
 
Database programming in vb net
Database programming in vb netDatabase programming in vb net
Database programming in vb netZishan yousaf
 
Overview Of ADO .NET from Wingslive.com
Overview Of ADO .NET from Wingslive.comOverview Of ADO .NET from Wingslive.com
Overview Of ADO .NET from Wingslive.comWings Interactive
 
Data mining with ms access
Data mining with ms accessData mining with ms access
Data mining with ms access
Dhatri Jain
 
Working with the MarcEditor
Working with the MarcEditorWorking with the MarcEditor
Working with the MarcEditor
Terry Reese
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
Himanshu Soni
 
Sql Server Basics
Sql Server BasicsSql Server Basics
Sql Server Basics
rainynovember12
 
vishual basic data base Pankaj
vishual basic data base Pankajvishual basic data base Pankaj
vishual basic data base Pankaj
Rai Saheb Bhanwar Singh College Nasrullaganj
 
My Sql
My SqlMy Sql
My Sql
irenazd
 
No sq lv2
No sq lv2No sq lv2
No sq lv2
Nusrat Sharmin
 
Apache storm
Apache stormApache storm
Apache storm
Kapil Kumar
 
ADO CONTROLS - Database usage
ADO CONTROLS - Database usageADO CONTROLS - Database usage
ADO CONTROLS - Database usage
Muralidharan Radhakrishnan
 

What's hot (19)

MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
MarcEdit Shelter-In-Place Webinar 5: Working with MarcEdit's Linked Data Fram...
 
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
MarcEdit Shelter-In-Place Webinar 4: Merging, Clustering, and Integrations…oh...
 
WEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NETWEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NET
 
Database programming in vb net
Database programming in vb netDatabase programming in vb net
Database programming in vb net
 
Overview Of ADO .NET from Wingslive.com
Overview Of ADO .NET from Wingslive.comOverview Of ADO .NET from Wingslive.com
Overview Of ADO .NET from Wingslive.com
 
Ado vs ado.net by varun tiwari
Ado vs ado.net by varun tiwariAdo vs ado.net by varun tiwari
Ado vs ado.net by varun tiwari
 
Data mining with ms access
Data mining with ms accessData mining with ms access
Data mining with ms access
 
Working with the MarcEditor
Working with the MarcEditorWorking with the MarcEditor
Working with the MarcEditor
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
Ado
AdoAdo
Ado
 
Sql Server Basics
Sql Server BasicsSql Server Basics
Sql Server Basics
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Unit 2.3
Unit 2.3Unit 2.3
Unit 2.3
 
vishual basic data base Pankaj
vishual basic data base Pankajvishual basic data base Pankaj
vishual basic data base Pankaj
 
My Sql
My SqlMy Sql
My Sql
 
Web service
Web serviceWeb service
Web service
 
No sq lv2
No sq lv2No sq lv2
No sq lv2
 
Apache storm
Apache stormApache storm
Apache storm
 
ADO CONTROLS - Database usage
ADO CONTROLS - Database usageADO CONTROLS - Database usage
ADO CONTROLS - Database usage
 

Viewers also liked

Del Piero
Del PieroDel Piero
Del Piero
nasserhct
 
CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015
CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015
CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015Matome Kujwana
 
12 under 12 spotlight from texas aggie mag 2014-01
12 under 12 spotlight from texas aggie mag 2014-0112 under 12 spotlight from texas aggie mag 2014-01
12 under 12 spotlight from texas aggie mag 2014-01Andy Ellwood
 
De-risking Projects and Setting up for High Performance Delivery
De-risking Projects and Setting up for High Performance DeliveryDe-risking Projects and Setting up for High Performance Delivery
De-risking Projects and Setting up for High Performance Delivery
Craig Bihari
 
Evaluation 3
Evaluation 3Evaluation 3
Evaluation 3
Anya Wagstaff
 
Is the stranger an alien cross culture 2013
Is the stranger an alien cross culture 2013Is the stranger an alien cross culture 2013
Is the stranger an alien cross culture 2013
joannakato
 
Vietnam Major Attractions
Vietnam Major AttractionsVietnam Major Attractions
Vietnam Major Attractions
Thao Nguyen
 
Rais aqmaril abdurrasyid
Rais aqmaril abdurrasyidRais aqmaril abdurrasyid
Rais aqmaril abdurrasyid
panglimaagus
 
Evaluation 2
Evaluation 2Evaluation 2
Evaluation 2
Anya Wagstaff
 
Factoring Scenarios: How We Help Small Businesses
Factoring Scenarios: How We Help Small BusinessesFactoring Scenarios: How We Help Small Businesses
Factoring Scenarios: How We Help Small Businesses
Versant Funding LLC
 
La qualità tutti i giorni.
La qualità tutti i giorni.La qualità tutti i giorni.
La qualità tutti i giorni.StanhomeAP
 
Wprowadzenie do sbc bi
Wprowadzenie do sbc biWprowadzenie do sbc bi
Wprowadzenie do sbc bimichalmosiejko
 
UPDATED - Internet Excavations by a New Scripophilist
UPDATED - Internet Excavations by a New ScripophilistUPDATED - Internet Excavations by a New Scripophilist
UPDATED - Internet Excavations by a New Scripophilist
William R. Benz
 

Viewers also liked (17)

Del Piero
Del PieroDel Piero
Del Piero
 
CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015
CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015
CURRICULUM VITAE OF MATOME FRANS KUJWANA - 2015
 
12 under 12 spotlight from texas aggie mag 2014-01
12 under 12 spotlight from texas aggie mag 2014-0112 under 12 spotlight from texas aggie mag 2014-01
12 under 12 spotlight from texas aggie mag 2014-01
 
De-risking Projects and Setting up for High Performance Delivery
De-risking Projects and Setting up for High Performance DeliveryDe-risking Projects and Setting up for High Performance Delivery
De-risking Projects and Setting up for High Performance Delivery
 
Evaluation 3
Evaluation 3Evaluation 3
Evaluation 3
 
Is the stranger an alien cross culture 2013
Is the stranger an alien cross culture 2013Is the stranger an alien cross culture 2013
Is the stranger an alien cross culture 2013
 
Vietnam Major Attractions
Vietnam Major AttractionsVietnam Major Attractions
Vietnam Major Attractions
 
Rais aqmaril abdurrasyid
Rais aqmaril abdurrasyidRais aqmaril abdurrasyid
Rais aqmaril abdurrasyid
 
My_CV
My_CVMy_CV
My_CV
 
Evaluation 2
Evaluation 2Evaluation 2
Evaluation 2
 
QNUPS Presentation
QNUPS PresentationQNUPS Presentation
QNUPS Presentation
 
Resume (Moody)
Resume (Moody)Resume (Moody)
Resume (Moody)
 
Factoring Scenarios: How We Help Small Businesses
Factoring Scenarios: How We Help Small BusinessesFactoring Scenarios: How We Help Small Businesses
Factoring Scenarios: How We Help Small Businesses
 
La qualità tutti i giorni.
La qualità tutti i giorni.La qualità tutti i giorni.
La qualità tutti i giorni.
 
Wprowadzenie do sbc bi
Wprowadzenie do sbc biWprowadzenie do sbc bi
Wprowadzenie do sbc bi
 
UPDATED - Internet Excavations by a New Scripophilist
UPDATED - Internet Excavations by a New ScripophilistUPDATED - Internet Excavations by a New Scripophilist
UPDATED - Internet Excavations by a New Scripophilist
 
Final Assignment APA
Final Assignment APAFinal Assignment APA
Final Assignment APA
 

Similar to Session x(ado.net)

Ado.Net Tutorial
Ado.Net TutorialAdo.Net Tutorial
Ado.Net Tutorial
prabhu rajendran
 
Ado
AdoAdo
Introduction to ado.net
Introduction to ado.netIntroduction to ado.net
Introduction to ado.net
Paneliya Prince
 
In about a paragraph and in your own words, describe exactly what AD.pdf
In about a paragraph and in your own words, describe exactly what AD.pdfIn about a paragraph and in your own words, describe exactly what AD.pdf
In about a paragraph and in your own words, describe exactly what AD.pdf
malavshah9013
 
Introduction to ado
Introduction to adoIntroduction to ado
Introduction to adoHarman Bajwa
 
What is ado .net architecture_.pdf
What is ado .net architecture_.pdfWhat is ado .net architecture_.pdf
What is ado .net architecture_.pdf
Albert828253
 
Ado.net
Ado.netAdo.net
Ado.net
Om Prakash
 
Ado Net
Ado NetAdo Net
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentalsMadhuri Kavade
 
ADO .Net
ADO .Net ADO .Net
ADO .Net
DrSonali Vyas
 
Ado.Net Architecture
Ado.Net ArchitectureAdo.Net Architecture
Ado.Net Architecture
Umar Farooq
 
Is2215 lecture7 lecturer_ado_intro
Is2215 lecture7 lecturer_ado_introIs2215 lecture7 lecturer_ado_intro
Is2215 lecture7 lecturer_ado_introdannygriff1
 
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdfguest5eed7
 
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdfguest5eed7
 
Csharp_dotnet_ADO_Net_database_query.pptx
Csharp_dotnet_ADO_Net_database_query.pptxCsharp_dotnet_ADO_Net_database_query.pptx
Csharp_dotnet_ADO_Net_database_query.pptx
facebookrecovery1
 
Ado dot net complete meterial (1)
Ado dot net complete meterial (1)Ado dot net complete meterial (1)
Ado dot net complete meterial (1)Mubarak Hussain
 
Visual Basic.Net & Ado.Net
Visual Basic.Net & Ado.NetVisual Basic.Net & Ado.Net
Visual Basic.Net & Ado.Net
FaRid Adwa
 

Similar to Session x(ado.net) (20)

Ado.Net Tutorial
Ado.Net TutorialAdo.Net Tutorial
Ado.Net Tutorial
 
Ado
AdoAdo
Ado
 
Introduction to ado.net
Introduction to ado.netIntroduction to ado.net
Introduction to ado.net
 
PPT temp.pptx
PPT temp.pptxPPT temp.pptx
PPT temp.pptx
 
In about a paragraph and in your own words, describe exactly what AD.pdf
In about a paragraph and in your own words, describe exactly what AD.pdfIn about a paragraph and in your own words, describe exactly what AD.pdf
In about a paragraph and in your own words, describe exactly what AD.pdf
 
Ado.net
Ado.netAdo.net
Ado.net
 
Introduction to ado
Introduction to adoIntroduction to ado
Introduction to ado
 
Microsoft data access components
Microsoft data access componentsMicrosoft data access components
Microsoft data access components
 
What is ado .net architecture_.pdf
What is ado .net architecture_.pdfWhat is ado .net architecture_.pdf
What is ado .net architecture_.pdf
 
Ado.net
Ado.netAdo.net
Ado.net
 
Ado Net
Ado NetAdo Net
Ado Net
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentals
 
ADO .Net
ADO .Net ADO .Net
ADO .Net
 
Ado.Net Architecture
Ado.Net ArchitectureAdo.Net Architecture
Ado.Net Architecture
 
Is2215 lecture7 lecturer_ado_intro
Is2215 lecture7 lecturer_ado_introIs2215 lecture7 lecturer_ado_intro
Is2215 lecture7 lecturer_ado_intro
 
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
 
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
6 Slidesdfsdfsdhbkdflgjdflgjlkeroueriotr,Dnghkfxhckghdsflhl;Jkjlahfdhklgfdgdf
 
Csharp_dotnet_ADO_Net_database_query.pptx
Csharp_dotnet_ADO_Net_database_query.pptxCsharp_dotnet_ADO_Net_database_query.pptx
Csharp_dotnet_ADO_Net_database_query.pptx
 
Ado dot net complete meterial (1)
Ado dot net complete meterial (1)Ado dot net complete meterial (1)
Ado dot net complete meterial (1)
 
Visual Basic.Net & Ado.Net
Visual Basic.Net & Ado.NetVisual Basic.Net & Ado.Net
Visual Basic.Net & Ado.Net
 

More from Shrijan Tiwari

ASPX Session xi(page lifecycle)
ASPX Session xi(page lifecycle)ASPX Session xi(page lifecycle)
ASPX Session xi(page lifecycle)
Shrijan Tiwari
 
Session viii(state mngtserver)
Session viii(state mngtserver)Session viii(state mngtserver)
Session viii(state mngtserver)
Shrijan Tiwari
 
Session viii(state mngtclient)
Session viii(state mngtclient)Session viii(state mngtclient)
Session viii(state mngtclient)
Shrijan Tiwari
 
Session vii(java scriptbasics)
Session vii(java scriptbasics)Session vii(java scriptbasics)
Session vii(java scriptbasics)
Shrijan Tiwari
 
Session vi(user control)
Session vi(user control)Session vi(user control)
Session vi(user control)
Shrijan Tiwari
 
Session v(css)
Session v(css)Session v(css)
Session v(css)
Shrijan Tiwari
 
Session ix(database)
Session ix(database)Session ix(database)
Session ix(database)
Shrijan Tiwari
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
Shrijan Tiwari
 
Session iii(server controls)
Session iii(server controls)Session iii(server controls)
Session iii(server controls)
Shrijan Tiwari
 
Session ii(html)
Session ii(html)Session ii(html)
Session ii(html)
Shrijan Tiwari
 
Session i(introduction)
Session i(introduction)Session i(introduction)
Session i(introduction)
Shrijan Tiwari
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
Shrijan Tiwari
 

More from Shrijan Tiwari (12)

ASPX Session xi(page lifecycle)
ASPX Session xi(page lifecycle)ASPX Session xi(page lifecycle)
ASPX Session xi(page lifecycle)
 
Session viii(state mngtserver)
Session viii(state mngtserver)Session viii(state mngtserver)
Session viii(state mngtserver)
 
Session viii(state mngtclient)
Session viii(state mngtclient)Session viii(state mngtclient)
Session viii(state mngtclient)
 
Session vii(java scriptbasics)
Session vii(java scriptbasics)Session vii(java scriptbasics)
Session vii(java scriptbasics)
 
Session vi(user control)
Session vi(user control)Session vi(user control)
Session vi(user control)
 
Session v(css)
Session v(css)Session v(css)
Session v(css)
 
Session ix(database)
Session ix(database)Session ix(database)
Session ix(database)
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
 
Session iii(server controls)
Session iii(server controls)Session iii(server controls)
Session iii(server controls)
 
Session ii(html)
Session ii(html)Session ii(html)
Session ii(html)
 
Session i(introduction)
Session i(introduction)Session i(introduction)
Session i(introduction)
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 

Recently uploaded

Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
varshanayak241
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
Sharepoint Designs
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 

Recently uploaded (20)

Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 

Session x(ado.net)

  • 1. Overview of ADO.NET Architecture of ADO.NET .NET Data Providers Data Providers Components
  • 2.  ADO.NET is a large set of .NET classes that enable us to retrieve and manipulate data, and update data.  As an integral part of the .NET framework, it shares many of its features:  sources, in very many different ways.
  • 3.  features such as multi-language support, garbage collection, just-in-time compilation, object-oriented design,  and dynamic caching, and is far more than an upgrade of previous versions of ADO.
  • 4.  The ADO.NET object model consists of two fundamental components: the Dataset, which is disconnected from the data source and doesn't need to know where the data it holds came from; and the .NET  data provider. The .NET data providers allow us to connect to the data source, and to execute SQL.
  • 5.  At the time of writing, there are three .NET data providers available: for SQL Server, for OLE DB data sources.  for ODBC-compliant data sources. Each provider exists in a namespace within the System. Data namespace, and  consists of a number of classes.
  • 6.  Each .NET data provider consists of four main components:  Connection – used to connect to the data source  Command– used to execute a command against the data source and retrieve a Data Reader.
  • 7.  Dataset, or to execute an INSERT, UPDATE, or DELETE command against the data source  Data Reader– a forward-only, read-only connected result set.  Data Adapter – used to populate a Dataset with data from the data source, and to update the data source
  • 8.
  • 9.  The connection classes are very similar to the ADO Connection object, and like that, they are used to  represent a connection to a specific data source. The connection classes store the information that ADO.NET  needs to connect to a data source in the form of a familiar connection string (just as in ADO).
  • 10.  The command classes expose the IDbCommand interface and are similar to the ADO Command object – they  are used to execute SQL statements or stored procedures in the data source. Also, like the ADO Command  object, the command classes have a Command Text property, which contains the text of the command to be
  • 11.  executed against the data source, and a Command Type property, which indicates whether the command is a  SQL statement, the name of a stored procedure, or the name of a table.
  • 12.
  • 13.  The DataReader is ADO.NET's answer to the connected recordset in ADO. However, the DataReader is  forward-only and read-only – we can't navigate through it at random, and we can't use it to update the data source. It
  • 14.  therefore allows extremely fast access to data that we just want to iterate through once, and it is recommended to use  the Data Reader (rather than the DataSet) wherever possible.
  • 15.
  • 16.  The other major component of ADO.NET is the DataSet; this corresponds very roughly to the ADO  recordset. It differs, however, in two important respects. The first of these is that the DataSet is always
  • 17.  exactly the same way to manipulate data from a traditional data source or from an XML document. In order to  connect a DataSet to a data source, we need to use the DataAdapter as an intermediary between the  DataSet and the .NET data provider: