DbCommand Properties
.NET Framework 2.0
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| 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.) |
| DesignTimeVisible | Gets or sets a value indicating whether the command object should be visible in a customized interface control. |
| Parameters | Gets the collection of DbParameter objects. |
| Site | Gets or sets the ISite of the Component. (Inherited from Component.) |
| 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 | |
|---|---|---|
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (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 | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) |
| Name | Description | |
|---|---|---|
| System.Data.IDbCommand.Connection | For a description of this member, see Connection. |
| System.Data.IDbCommand.Parameters | For a description of this member, see System.Data.IDbCommand.Parameters. |
| System.Data.IDbCommand.Transaction | For a description of this member, see System.Data.IDbCommand.Transaction. |