The following tables list the members exposed by the DB2CommandBuilder class.
Name | Description |
---|---|
DB2®CommandBuilder() | Initializes a new instance of the DB2CommandBuilder class. |
DB2CommandBuilder(DB2DataAdapter) | Initializes a new instance of the DB2CommandBuilder class with the associated DB2DataAdapter object. |
Property | Description |
---|---|
CatalogLocation | Gets the CatalogLocation for this DB2CommandBuilder instance. |
CatalogSeparator | Gets the string representing a catalog separator for this DB2CommandBuilder instance. |
ConflictOption | Sets a value that specifies how conflicting changes to the data source gets detected and resolved. |
Container (inherited from Component) | Gets the IContainer that contains the Component. |
DataAdapter | Gets or sets a DB2DataAdapter object for which this DB2CommandBuilder object will generate SQL statements. |
QuotePrefix | Gets or sets the beginning character or characters to use when working with database objects (for example, tables or columns) whose names contain characters such as spaces or reserved tokens. |
QuoteSuffix | Gets or sets the ending character or characters to use when working with database objects, (for example, tables or columns), whose names contain characters such as spaces or reserved tokens. |
SchemaSeparator | Gets the string representing a schema separator for this DB2CommandBuilder instance. |
Site (inherited from Component) | Gets or sets the ISite of the Component. |
Method | 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. |
DeriveParameters | Retrieves parameter information from the stored procedure specified in the DB2Command and populates the Parameters collection of the specified DB2Command 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. |
GetDeleteCommand | Gets the automatically generated DB2Command object required to perform deletions at the database. |
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. |
GetInsertCommand | Gets the automatically generated DB2Command object required to perform insertions at the database. |
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. |
GetUpdateCommand | Gets the automatically generated DB2Command object required to perform updates at the database. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
QuoteIdentifier | Accepts an unquoted identifier and returns the identifier in a quoted form. |
RefreshSchema | Refreshes the database schema information used to generate INSERT, UPDATE, or DELETE statements. |
UnquoteIdentifier | Accepts a quoted identifier and returns the identifier in an unquoted form. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Event | Description |
---|---|
Disposed (inherited from Component) | Adds an event handler to listen to the Disposed event on the component. |
Property | Description |
---|---|
DesignMode (inherited from Component) | Gets a value that indicates whether the Component is currently in design mode. |
Events (inherited from Component) | Gets the list of event handlers that are attached to this Component. |
Method | Description |
---|---|
ApplyParameterInfo | Overloaded. Assigns a value to the DbParameter.DbType property using the data type from the DataRow. Used internally by DbCommandBuilder. |
Dispose | Overloaded. Overridden. Releases the resources used by the DB2CommandBuilder. |
GetParameterName | Overloaded. Returns the full name of the parameter using the partial parameter name. |
GetParameterPlaceholder | Returns the placeholder for the parameter in the associated SQL statement. |
GetService (inherited from Component) | Returns an object that represents a service provided by the Component or by its Container. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
SetRowUpdatingHandler | Registers the DB2CommandBuilder to handle the RowUpdating event for a DB2DataAdapter. |