[]
Describes a query that is executed to fetch data for a DataSet (the query is specified by the Query property on the data set object).
[C1ClassSerialization(true)]
public class Query
| Name | Description |
|---|---|
| Query() | Initializes a new instance of the Query class. |
| Name | Description |
|---|---|
| CommandText | Gets or sets the command text that is executed to obtain the data. The interpretation of this text depends on the query type specified by the CommandType property. |
| CommandType | Gets or sets the type of query assigned to the CommandText property on the current query. |
| DataSource | Gets or sets the DataSource object against which to execute the current query. |
| Parameters | Gets the collection of QueryParameter objects that are passed to the data source as part of the current query. |
| Timeout | Gets or sets the number of seconds to allow the query to run before timing out. Must be nonnegative. If omitted or zero, the query should not time out. |
| Name | Description |
|---|---|
| AssignFrom(Query) | Assigns (copies) properties from another Query to the current object. |