DB2CommandBuilder Methods

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

Public Methods

Method 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 static (Shared in Visual Basic) DeriveParameters Retrieves parameter information from the stored procedure specified in the DB2®Command and populates the Parameters collection of the specified DB2Command 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 GetDeleteCommand Gets the automatically generated DB2Command object required to perform deletions at the database.
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 GetInsertCommand Gets the automatically generated DB2Command object required to perform insertions at the database.
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 GetUpdateCommand Gets the automatically generated DB2Command object required to perform updates at the database.
public method InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public method QuoteIdentifier Accepts an unquoted identifier and returns the identifier in a quoted form.
public method RefreshSchema Refreshes the database schema information used to generate INSERT, UPDATE, or DELETE statements.
public method UnquoteIdentifier Accepts a quoted identifier and returns the identifier in an unquoted form.
public method ToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

Method Description
protected method ApplyParameterInfo Overloaded. Assigns a value to the DbParameter.DbType property using the data type from the DataRow. Used internally by DbCommandBuilder.
protected method Dispose Overloaded. Overridden. Releases the resources used by the DB2CommandBuilder.
protected method GetParameterName Overloaded. Returns the full name of the parameter using the partial parameter name.
protected method GetParameterPlaceholder Returns the placeholder for the parameter in the associated SQL statement.
protected method GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected method MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected method SetRowUpdatingHandler Registers the DB2CommandBuilder to handle the RowUpdating event for a DB2DataAdapter.