Represents a set of command-related properties that are used to fill the System.Data.DataSet and update a data source, and is implemented by .NET Framework data providers that access relational databases.

See Also: IDbDataAdapter Members


public interface IDbDataAdapter : IDataAdapter


The System.Data.IDbDataAdapter interface inherits from the System.Data.IDataAdapter interface and allows an object to create a DataAdapter designed for use with a relational database. The System.Data.IDbDataAdapter interface and, optionally, the utility class, System.Data.Common.DbDataAdapter, allow 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>]. For more information about implementing .NET Framework data providers, see [<topic://cpconimplementingnetdataprovider>].

An application does not create an instance of the System.Data.IDbDataAdapter interface directly, but creates an instance of a class that inherits System.Data.IDbDataAdapter and System.Data.Common.DbDataAdapter.

Classes that inherit System.Data.IDbDataAdapter must implement the inherited members, and typically define additional members to add provider-specific functionality. For example, the System.Data.IDbDataAdapter interface defines the IDbDataAdapter.SelectCommand property, and the System.Data.Common.DbDataAdapter interface defines a IDataAdapter.Fill(DataSet) method that takes a System.Data.DataTable as a parameter. In turn, the System.Data.OleDb.OleDbDataAdapter class inherits the IDbDataAdapter.SelectCommand property and 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,