QueryInfo
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
Initializes a new instance of the QueryInfo class.
public QueryInfo()
Properties
Gets or sets the command timeout in seconds for query execution.
public int CommandTimeout { get; set; }
Specifies how long to wait for the query to execute before timing out, with zero indicating no timeout.
SelectCommand
string
Gets or sets the SQL command text or stored procedure name to execute.
[Required]
public string SelectCommand { get; set; }
This property is required and contains the actual SQL statement or procedure name for data retrieval.
Gets or sets the type of SQL command to execute (text or stored procedure).
public SqlDataSourceCommandType SelectCommandType { get; set; }
Determines whether the SelectCommand property contains SQL text or a stored procedure name.