Scalable Database Server, HiRDB Version 8 UAP Development Guide
HiRDBCommand
Component, IDbCommand, ICloneable
| 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. |
| 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. |
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.