The QueryConfig type exposes the following properties.
Properties
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
FieldExpressions |
The list of fields and/or dynamic aggregation expressions to query from the table.
Dynamic aggregation expression allow you to calculate aggregate values against the table on the fly
and assign the result to a new field. For example, assuming Quantity and Price
are fields on the table, the following aggregate expression:
CopyC# Sum(Quantity * Price) AS Value | |
Fields | Obsolete.
The list of fields to query from the table.
| |
GroupByExpressions |
The list of GROUP BY expressions that are to be applied to this query.
| |
IncludeInternalFields |
Whether to include internal fields in the query results.
| |
Limit | Obsolete.
The maximum number of rows to return with the query. -1 means no limit is imposed.
If/when the number of returned rows exceeds limit, an exception
is thrown and the query is closed.
| |
MaxResultSetSize |
The maximum number of rows to return with the query. -1 means no limit is imposed.
If/when the number of returned rows exceeds limit, an exception
is thrown and the query is closed.
| |
Predicate |
The predicate on which to filter (i.e. the WHERE clause).
| |
QueryString |
string representation of the QueryConfig, in SQL-like syntax.
The format is:
select [* | col [,col]*] from table where <predicate> [limit <#rows>] | |
QueryType |
The kind of query desired.
| |
Table |
The table to query (i.e. the FROM clause).
| |
TimePredicateInMilliseconds |
The number of millisecods to delay before propagating a row that satisfies a query's predicate.
| |
TimeWindow |
Configures this query as a time-windowed query, using the given start and end time
expressions, against the given timestamp field from the target table.
See QueryConfig..::..TimeWindowParams.
|