DB2eDataAdapter Members


Tabelle 173. Public Instance Constructors

Constructor Description
DB2eDataAdapter() Overloaded. Initialize a new instance of the DB2eDataAdapter class.
DB2eDataAdapter(DB2eCommand) Overloaded. Initialize a new instance of the DB2eDataAdapter class with the specified SQL SELECT statement.
DB2eDataAdapter(string, DB2eConnection) Overloaded. Initialize a new instance of the DB2eDataAdapter class with the specified SQL SELECT statement and an DB2eConnection object.
DB2eDataAdapter(string, string) Overloaded. Initialize a new instance of the DB2eDataAdapter class with the specified SQL SELECT statement and a connection string.

Tabelle 174. Public Instance Properties

Property Description
AcceptChangesDuringFill (inherited from DataAdapter) Gets or sets a value indicating whether AcceptChanges is called on a DataRow after it is added to the DataTable.
ContinueUpdateOnError (inherited from DataAdapter) Gets or sets a value that specifies whether to generate an exception, or the row in error when an error is encountered during a row update.
DeleteCommand Gets or sets an SQL statement or stored procedure used to delete records in the database.
InsertCommand Gets or sets an SQL statement or stored procedure used to insert new records into the data source.
MissingMappingAction (inherited from DataAdapter) Determines the action to take when incoming data does not have a matching table or column.
MissingSchemaAction (inherited from DataAdapter) Determines the action to take when existing DataSet schema does not match incoming data.
SelectCommand Gets or sets an SQL statement or stored procedure used to select records in the database.
TableMappings (inherited from DataAdapter) Gets a collection that provides the master mapping between a source table and a DataTable .
UpdateCommand Gets or sets an SQL statement or stored procedure used to update records in the database.

Tabelle 175. Public Instance Methods

Method Description
Clone Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Fill (inherited from DbDataAdapter) Adds or refreshes rows to a DataSet or DataTable to match those in the data source.
FillSchema (inherited from DbDataAdapter) Adds a DataTable to a DataSet and configures the schema to match that in the data source.
GetFillParameters (inherited from DbDataAdapter) Gets the parameters set by the user when executing an SQL SELECT statement.
Update (inherited from DbDataAdapter) Invokes the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet.

Tabelle 176. Public Instance Events

Event Description
FillError (inherited from DbDataAdapter) Returned when an error occurs during a fill operation.
RowUpdated Occurs during an update operation after a command is executed against the database.
RowUpdating Occurs during Update before a command is executed against the database.