SlideShare a Scribd company logo
1 of 19
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 (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

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 DeliveryCraig Bihari
 
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 2013joannakato
 
Vietnam Major Attractions
Vietnam Major AttractionsVietnam Major Attractions
Vietnam Major AttractionsThao Nguyen
 
Rais aqmaril abdurrasyid
Rais aqmaril abdurrasyidRais aqmaril abdurrasyid
Rais aqmaril abdurrasyidpanglimaagus
 
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 BusinessesVersant 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 ScripophilistWilliam 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)

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.pdfmalavshah9013
 
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_.pdfAlbert828253
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentalsMadhuri Kavade
 
Ado.Net Architecture
Ado.Net ArchitectureAdo.Net Architecture
Ado.Net ArchitectureUmar 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.pptxfacebookrecovery1
 
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.NetFaRid 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 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 i(introduction)
Session i(introduction)Session i(introduction)
Session i(introduction)Shrijan Tiwari
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidShrijan 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

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 

Recently uploaded (20)

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 

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: