Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

15.4.1 List of HiRDBCommand members

Organization of this subsection
(1) Constructor
(2) Inheritance classes
(3) Properties
(4) Methods

(1) Constructor

HiRDBCommand

(2) Inheritance classes

Component, IDbCommand, ICloneable

(3) Properties

Member Function
CommandText Acquires or sets the text command that is executed on a database.
CommandTimeout Acquires or sets the wait time before command retries are cancelled and an error is generated.
CommandType Acquires or sets a value that indicates how to interpret the CommandText property.
Connection Acquires or sets the HiRDBConnection that is used by this HiRDBCommand.
Parameters Acquires HiRDBParameterCollection.
Transaction Acquires or sets the HiRDBTransaction on which this HiRDBCommand is executed.
UpdatedRowSource Acquires or sets how to apply the command result to DataRow when HiRDBDataAdapter's Update method uses the command result.

(4) Methods

Member Function
Cancel Cancels execution of HiRDBCommand.
Clone Creates a new object which is a copy of the current instance.
CreateParameter Creates a new instance of the HiRDBParameter object.
ExecuteNonQuery Executes an SQL statement on the HiRDBConnection object and returns the number of affected rows.
ExecuteReader Executes CommandText on HiRDBConnection and creates HiRDBDataReader using one of the CommandBehavior values.
ExecuteScalar Executes a query and returns the first column of the first row in the result set returned by the query. Any excess column or row will be ignored.
Prepare Creates a prepared version of a command (compiled) in a database.