Allows an object to implement a DataAdapter, and represents a set of methods and mapping action-related properties that are used to fill and update a System.Data.DataSet and update a data source.

System.Data.IDbDataAdapter instances are for data sources that are (or resemble) relational databases with textual commands (like tsql), while System.Data.IDataAdapter instances could can use any type of data source.

See Also: IDataAdapter Members


public interface IDataAdapter


The System.Data.IDataAdapter interface allows an inheriting class to implement a DataAdapter class, which represents the bridge between a data source and a System.Data.DataSet. For more information about DataAdapter classes, see [<topic://cpconpopulatingdatasetfromdataadapter>].

An application does not create an instance of the System.Data.IDataAdapter interface directly, but implements an instance of a class that inherits System.Data.IDataAdapter.

Classes that inherit System.Data.IDataAdapter must implement the inherited members, and they typically define additional members to add provider-specific functionality. For example, the System.Data.IDataAdapter interface defines a IDataAdapter.Fill(DataSet) method that takes a System.Data.DataSet as a parameter. In turn, the System.Data.OleDb.OleDbDataAdapter class inherits the System.Data.Common.DbDataAdapter.Fill(DataSet) method and also defines two additional overloads of the System.Data.OleDb.OleDbDataAdapter.Fill(DataTable, object) method that take an ADO Recordset object as a parameter.


Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,