Include Protected Members
Include Inherited Members
Provides the ability to build and execute data commands of various types against data sources, and to retrieve read-only results or a command status code.
The DataCommand type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
DataCommand | Class constructor. Instantiates a new instance of the DataCommand class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
CreateParameter | Creates a parameter object that can be passed into the DeriveSchema, Execute or ExecuteWithoutResultsmethods on a DataCommandclass instance. |
![]() |
DeriveParameters | Derives the parameters that can be specified for a given command. |
![]() |
DeriveSchema | Derives the schema returned from a specified command, indicating the layout of items and blocks in a data reader. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Execute | Executes a specified command, optionally with parameters, and returns read-only results. |
![]() |
ExecuteWithoutResults | Executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call. |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Prepare | Prepares the specified command on the data source to be executed; the command may then be executed multiple times, with varying parameters. |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
.gif)
.gif)