0.1 Introduction to ADO.net Flashcards

1
Q

What is ADO.net?

A

It is a set of classes in C# that allows us to connect to, and work with data sources like databases, xml files, excell files, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Data provider?

A

It is a set of components that allows a specific data source to be accessed in a managed way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two main protocols used by data providers in ADO.net?

A

ODBC, OleDb

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List 5 data Providers, the api prefixes, and their descriptions.

A
  1. ODBC, Odbc, “Used to access older databases”
  2. OleDB, OledDB, “Used to access data sources with an OleDB interface, like access, and excell files”
  3. Oracle, Oracle, “Used to access Oracle databases”
  4. SQL, SQL, “Used to access microsoft SQL server”
  5. Borland, Bdp, “A generic way to access access data sources”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the four components of data providers, and the classes associated with them?

A
  1. Connection: Connecting to the data source, using the DbConnection class.
  2. Command: Sending queries to the data source, using the DbCommand class.
  3. Data Reader: Reading data from the data source in a read-only manner, using the DbDataReader class.
  4. Data Adapter: Invoking and updating datasets from the data source, using the DbDataAdapter class.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly