DB2®DataAdapter Methods

The methods of the DB2DataAdapter class are listed here. For a complete list of DB2DataAdapter class members, see the DB2DataAdapter Members topic.

Public Methods

Name Description
public method CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public method Dispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public method Equals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public method Fill (inherited from DbDataAdapter) Overloaded. Overridden. Adds or refreshes rows in the DataSet to match those in the database.
public method FillSchema (inherited from DbDataAdapter) Overloaded. Overridden. Adds a DataTable to a DataSet and configures the schema to match that in the database.
public method GetFillParameters (inherited from DbDataAdapter) Overridden. Gets the parameters set by the user when executing an SQL SELECT statement.
public method GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public method GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public method GetType (inherited from Object) Gets the Type of the current instance.
public method InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public method ToString (inherited from Object) Returns a String that represents the current Object.
public method Update (inherited from DbDataAdapter) Overloaded. Calls the INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet.

Protected Methods

Name Description
protected method AddToBatch (inherited from DbDataAdapter) Adds a IDbCommand to the current batch.
protected method ClearBatch (inherited from DbDataAdapter) Removes all IDbCommand objects from the batch.
protected method CloneInternals (inherited from DataAdapter) Creates a copy of this instance of DataAdapter.
protected method CreateRowUpdatedEvent Overridden. Initializes a new instance of the RowUpdatedEventArgs class, regardless of whether the update is successful.
protected method CreateRowUpdatingEvent Overridden. Initializes a new instance of the RowUpdatingEventArgs class.
protected method CreateTableMappings (inherited from DataAdapter) Creates a new DataTableMappingCollection.
protected method Dispose (inherited from DbDataAdapter) Overloaded. Releases the resources used by the Component.
protected method ExecuteBatch (inherited from DbDataAdapter) Executes the current batch.
protected method Fill (inherited from DbDataAdapter) Overloaded. Overridden. Adds or refreshes rows in the DataSet to match those in the database.
protected method FillSchema (inherited from DbDataAdapter) Overloaded. Overridden. Adds a DataTable to a DataSet and configures the schema to match that in the database.
protected method Finalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and Microsoft(R) Visual C++(R), finalizers are expressed using destructor syntax.

protected method GetBatchedParameter (inherited from DbDataAdapter) Returns a IDataParameter from one of the commands in the current batch.
protected method GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected method InitializeBatching (inherited from DbDataAdapter) Initializes batching for the DbDataAdapter.
protected method MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected method OnFillError (inherited from DbDataAdapter) Raises the FillError event.
protected method OnRowUpdated Overridden. Raises the RowUpdated event using a RowUpdatedEventArgs object.
protected method OnRowUpdating Overridden. Raises the RowUpdating event using a RowUpdatingEventArgs object, whether or not the update operation is successful.
protected method ShouldSerializeTableMappings (inherited from DataAdapter) Determines whether one or more DataTableMapping objects exist and they should be persisted.
protected method TerminateBatching (inherited from DbDataAdapter) Ends batching for the DbDataAdapter.