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 |
|---|---|
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. |
Dispose (inherited from Component) |
Overloaded. Releases the resources used by the Component. |
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
Fill (inherited from DbDataAdapter) |
Overloaded. Overridden. Adds or refreshes rows in the DataSet to match those in the database. |
FillSchema (inherited from DbDataAdapter) |
Overloaded. Overridden. Adds a DataTable to a DataSet and configures the schema to match that in the database. |
GetFillParameters (inherited
from DbDataAdapter) |
Overridden. Gets the parameters set by the user when executing an SQL SELECT statement. |
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. |
GetLifetimeService (inherited
from MarshalByRefObject) |
Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
InitializeLifetimeService (inherited
from MarshalByRefObject) |
Obtains a lifetime service object to control the lifetime policy for this instance. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
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 |
|---|---|
AddToBatch (inherited from DbDataAdapter) |
Adds a IDbCommand to the current batch. |
ClearBatch (inherited from DbDataAdapter) |
Removes all IDbCommand objects from the batch. |
CloneInternals (inherited
from DataAdapter) |
Creates a copy of this instance of DataAdapter. |
CreateRowUpdatedEvent |
Overridden. Initializes a new instance of the RowUpdatedEventArgs class, regardless of whether the update is successful. |
CreateRowUpdatingEvent |
Overridden. Initializes a new instance of the RowUpdatingEventArgs class. |
CreateTableMappings (inherited
from DataAdapter) |
Creates a new DataTableMappingCollection. |
Dispose (inherited from DbDataAdapter) |
Overloaded. Releases the resources used by the Component. |
ExecuteBatch (inherited from DbDataAdapter) |
Executes the current batch. |
Fill (inherited from DbDataAdapter) |
Overloaded. Overridden. Adds or refreshes rows in the DataSet to match those in the database. |
FillSchema (inherited from DbDataAdapter) |
Overloaded. Overridden. Adds a DataTable to a DataSet and configures the schema to match that in the database. |
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. |
GetBatchedParameter (inherited
from DbDataAdapter) |
Returns a IDataParameter from one of the commands in the current batch. |
GetService (inherited from Component) |
Returns an object that represents a service provided by the Component or by its Container. |
InitializeBatching (inherited
from DbDataAdapter) |
Initializes batching for the DbDataAdapter. |
MemberwiseClone (inherited
from Object) |
Creates a shallow copy of the current Object. |
OnFillError (inherited from DbDataAdapter) |
Raises the FillError event. |
OnRowUpdated |
Overridden. Raises the RowUpdated event using a RowUpdatedEventArgs object. |
OnRowUpdating |
Overridden. Raises the RowUpdating event using a RowUpdatingEventArgs object, whether or not the update operation is successful. |
ShouldSerializeTableMappings (inherited from DataAdapter) |
Determines whether one or more DataTableMapping objects exist and they should be persisted. |
TerminateBatching (inherited
from DbDataAdapter) |
Ends batching for the DbDataAdapter. |