[]
        
(Showing Draft Content)

C1.C1Preview.DataBinding.Query

Query Class

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).

Inheritance
Query
Namespace: C1.C1Preview.DataBinding
Assembly: C1.PrintDocument.4.8.dll
Syntax
[C1ClassSerialization(true)]
public class Query

Constructors

Name Description
Query()

Initializes a new instance of the Query class.

Properties

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.

Methods

Name Description
AssignFrom(Query)

Assigns (copies) properties from another Query to the current object.