ClassQueryInfo
Contains database query information including connection details and command configuration.
Definition
Namespace:Telerik.Reporting.Data.Schema
Assembly:Telerik.Reporting.Data.Schema.dll
Syntax:
public class QueryInfo : ConnectionInfo
Inheritance: objectConnectionInfoQueryInfo
Derived Classes:
Inherited Members
Constructors
QueryInfo()
Initializes a new instance of the QueryInfo class.
Declaration
public QueryInfo()
Properties
CommandTimeout
Gets or sets the command timeout in seconds for query execution.
Declaration
public int CommandTimeout { get; set; }
Property Value
int
Remarks
Specifies how long to wait for the query to execute before timing out, with zero indicating no timeout.
SelectCommand
Gets or sets the SQL command text or stored procedure name to execute.
Declaration
[Required]
public string SelectCommand { get; set; }
Property Value
string
Remarks
This property is required and contains the actual SQL statement or procedure name for data retrieval.
SelectCommandType
Gets or sets the type of SQL command to execute (text or stored procedure).
Declaration
public SqlDataSourceCommandType SelectCommandType { get; set; }
Property Value
Remarks
Determines whether the SelectCommand property contains SQL text or a stored procedure name.