Nonstop Database, HiRDB Version 9 UAP Development Guide

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

16.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

When the supported ADO.NET version is 1.1:
Component, IDbCommand, ICloneable

When the supported ADO.NET version is 2.0:
DbCommand

(3) Properties

Member Function Supported ADO.NET version
CommandText Acquires or sets the text command that is executed on a database. 1.1 or later
CommandTimeout Acquires or sets the SQL execution timeout value (seconds). 1.1 or later
CommandType Acquires or sets a value that indicates how to interpret the CommandText property. 1.1 or later
Connection Acquires or sets the HiRDBConnection that is used by this HiRDBCommand. 1.1 or later
DesignTimeVisible Acquires or sets a value indicating whether a HiRDBCommand object is to be displayed on the control when the HiRDBCommand object is linked to the interface control. 2.0 or later
Parameters Acquires HiRDBParameterCollection. 1.1 or later
Transaction Acquires or sets the HiRDBTransaction on which this HiRDBCommand is executed. 1.1 or later
UpdatedRowSource Acquires or sets how to apply the command result to DataRow when HiRDBDataAdapter's Update method uses the command result. 1.1 or later

(4) Methods

Member Function Supported ADO.NET version
Cancel () Cancels an SQL statement during HiRDBCommand execution. 1.1 or later
Clone () Creates a new object which is a copy of the current instance. 1.1 or later
CreateParameter () Creates a new instance of the HiRDBParameter object. 1.1 or later
ExecuteNonQuery () Executes an SQL statement on the HiRDBConnection object and returns the number of affected rows. 1.1 or later
ExecuteNonQuery (int) 1.1 or later
ExecuteReader () Executes CommandText on HiRDBConnection and creates HiRDBDataReader. 1.1 or later
ExecuteReader (CommandBrhavior) 1.1 or later
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. 1.1 or later
Prepare () Creates a prepared version of a command (compiled) in a database. 1.1 or later