12. Understanding .NET Data Provider Connectivity : .NET Data Provider Classes : IngresCommand Class : IngresCommand Class Public Methods
 
Share this page                  
IngresCommand Class Public Methods
The public methods for the IngresCommand class are:
Method
Description
Cancel
Cancels the execution of the SQL command or database procedure.
CreateParameter
Creates a new instance of IngresParameter. For more information, see IngresParameter Class (see page IngresParameter Class).
Dispose
Releases allocated resources of the IngresCommand and base Component.
ExecuteNonQuery
Executes a command that does not return results. Returns the number of rows affected by the update, delete, or insert SQL command.
ExecuteReader
Executes a command and builds an IngresDataReader. For more information, see IngresDataReader Class (see page IngresDataReader Class).
ExecuteScalar
Executes a command and returns the first column of the first row of the result set.
Prepare
Prepares the SQL statement to be executed later.
ResetCommandTimeout
Resets the CommandTimeout property to its default value of 30 seconds.