Multiple choice

Which of the following objects acts as a mediator between the DataSet object and the database?

  1. DataAdapter Object

  2. DataReader Object

  3. DbConnection

  4. DbCommand

  5. DataTable

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The DataAdapter object acts as a mediator between the DataSet object and the database. This helps the data set to contain data from more than one databases or other data source. It must be provided with a set of data commands and a database connection used to fill the DataSet and update a database.