Элементы IDbCommand
Represents a statement that is executed while an open connection to a data source exists.
Тип IDbCommand предоставляет доступ к следующим элементам.
Методы
Имя | Описание | |
---|---|---|
Cancel | Attempts to cancel the execution of an IDbCommand. | |
CreateParameter | Creates a new instance of an IDataParameter object. | |
Dispose | (Наследуется из IDisposable.) | |
ExecuteReader | Executes the CommandText against the Connection and builds an IDataReader. |
В начало
Свойства
Имя | Описание | |
---|---|---|
CommandText | Gets or sets the text command to run against the data source. | |
CommandTimeout | Gets or sets the wait time before terminating the attempt to execute a command and generating an error. | |
CommandType | Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.). | |
Parameters | Gets the IDataParameterCollection. | |
Transaction | Gets or sets the transaction in which the Command object of a SQL Server Reporting Services data provider executes. |
В начало
См. также