[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Query

Query Class

Represents a Query element of a DataSet, containing the description of the query to be executed to retrieve data for the report.

Inheritance
Query
Implements
Namespace: GrapeCity.ActiveReports.PageReportModel
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public class Query : IValidateable

Constructors

Name Description
Query()

Initializes a new instance of the Query class.

Properties

Name Description
CommandText

Gets or sets a query to execute for obtaining data for the report.

CommandType

Gets or sets a type of query contained in the CommandText property.

DataSourceName

Gets or sets a name of the data source against which the query will be executed.

QueryParameters

Gets a list of parameters passed to the data source as part of the query.

Timeout

Gets or sets the number of seconds allowed for the query to run before timing out.

Methods

Name Description
Validate(ValidationContext)

Validates the current state of the Query object.

Extension Methods