IDalCommandEx

Description

The IDalCommandEx interface is used to work with database using SQL queries if an exception is thrown.

Comments

Use this interface methods to execute the command without clearing the counter of processed sets of parameter values. If errors occur at execution, use the SetCurrentParamsRow method to get the required set of parameter values and execute a separate command for this set only. Thus, a set of values can be determined that causes errors on executing the SQL query.

Methods

  Method name Brief description
The ClearParamSets method clears the counter of sets of parameter values in use.
The ExecuteEx method executes a command at the database server and returns the number of processed records.
The ExecuteWithoutLastEx method executes a command with all sets of parameters except for the last one and returns the number of processed records.
The SetCurrentParamsRow method determines the current set of parameter values.

See also:

Dal Assembly Interfaces