December 2004
Intermediate to advanced
1008 pages
21h 40m
English
As you saw in the previous chapter, the DataAdapter is essentially a plug that takes data from commands and plugs it into DataSets and DataTables. The DataAdapter implementation in this example takes a shortcut and inherits from an abstract base class called DbDataAdapter.
The IDbDataAdapter interface defines the properties listed in Table 28.6.
| Property | Description |
|---|---|
| SelectCommand | Contains the IDbCommand instance that is called to query data from the database |
| InsertCommand | An IDbCommand instance that is called to create new rows in the data source |
| UpdateCommand | An IDbCommand instance that is used to perform updates on rows |
| DeleteCommand ... |
Read now
Unlock full access