DbCommand Properties
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | CanRaiseEvents | Gets a value indicating whether the component can raise an event.(Inherited from Component.) |
![]() | 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. |
![]() | Connection | Gets or sets the DbConnection used by this DbCommand. |
![]() | Container | Gets the IContainer that contains the Component.(Inherited from Component.) |
![]() | DbConnection | Gets or sets the DbConnection used by this DbCommand. |
![]() | DbParameterCollection | Gets the collection of DbParameter objects. |
![]() | DbTransaction | Gets or sets the DbTransaction within which this DbCommand object executes. |
![]() | DesignMode | |
![]() | DesignTimeVisible | Gets or sets a value indicating whether the command object should be visible in a customized interface control. |
![]() | Events | |
![]() | Parameters | Gets the collection of DbParameter objects. For more information on parameters, see Configuring Parameters and Parameter Data Types. |
![]() | Site | |
![]() | Transaction | Gets or sets the DbTransaction within which this DbCommand object executes. |
![]() | UpdatedRowSource | Gets or sets how command results are applied to the DataRow when used by the Update method of a DbDataAdapter. |
| Name | Description | |
|---|---|---|
![]() ![]() | IDbCommand::Connection | Gets or sets the IDbConnection used by this instance of the IDbCommand. |
![]() ![]() | IDbCommand::Parameters | Gets the IDataParameterCollection. |
![]() ![]() | IDbCommand::Transaction | Gets or sets the DbTransaction within which this DbCommand object executes. |



