IDbCommand Methods

 

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubmethodCancel()

Attempts to cancels the execution of an IDbCommand.

System_CAPS_pubmethodCreateParameter()

Creates a new instance of an IDbDataParameter object.

System_CAPS_pubmethodDispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from IDisposable.)

System_CAPS_pubmethodExecuteNonQuery()

Executes an SQL statement against the Connection object of a .NET Framework data provider, and returns the number of rows affected.

System_CAPS_pubmethodExecuteReader()

Executes the CommandText against the Connection and builds an IDataReader.

System_CAPS_pubmethodExecuteReader(CommandBehavior)

Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehavior values.

System_CAPS_pubmethodExecuteScalar()

Executes the query, and returns the first column of the first row in the resultset returned by the query. Extra columns or rows are ignored.

System_CAPS_pubmethodPrepare()

Creates a prepared (or compiled) version of the command on the data source.

Return to top
Show: