Compartir a través de


IDbCommand Miembros

Represents a statement that is executed while an open connection to a data source exists.

El tipo IDbCommand expone los siguientes miembros.

Métodos

  Nombre Descripción
Método publico Cancel Attempts to cancel the execution of an IDbCommand.
Método publico CreateParameter Creates a new instance of an IDataParameter object.
Método publico Dispose (Se hereda de IDisposable).
Método publico ExecuteReader Executes the CommandText against the Connection and builds an IDataReader.

Principio

Propiedades

  Nombre Descripción
Propiedad pública CommandText Gets or sets the text command to run against the data source.
Propiedad pública CommandTimeout Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
Propiedad pública CommandType Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.).
Propiedad pública Parameters Gets the IDataParameterCollection.
Propiedad pública Transaction Gets or sets the transaction in which the Command object of a SQL Server Reporting Services data provider executes.

Principio