The following tables list the members exposed by IDbCommand.
Name | Description | |
---|---|---|
CommandText | Sets or returns the text statement to execute against the data source. | |
CommandTimeout | Sets or returns the length of time in seconds to wait before terminating the attempt to execute the command and generating an error. | |
CommandType | Specifies how to interpret the statement in CommandText. | |
Parameters | Returns the collection of parameters. | |
Transaction | Sets or returns the transaction in which this command executes. |
Name | Description | |
---|---|---|
Cancel | Attempts to cancel the current execution of this command. | |
CreateParameter | Creates a new parameter object for use with this command. | |
ExecuteReader | Overloaded. Overloaded. | |
GenerateRewrittenCommandText | Returns the command text with the parameters expanded into constants. |