Class
QueryInfoParameter

Represents a single parameter for database query execution with name, value, and type information.

Definition

Namespace:Telerik.Reporting.Data.Schema

Assembly:Telerik.Reporting.Data.Schema.dll

Syntax:

cs-api-definition
public class QueryInfoParameter

Inheritance: objectQueryInfoParameter

Constructors

QueryInfoParameter()

Declaration

cs-api-definition
public QueryInfoParameter()

Properties

DbType

Gets or sets the database type of the parameter for proper type conversion.

Declaration

cs-api-definition
[Required]
public DbType DbType { get; set; }

Property Value

DbType

Remarks

This property is required and ensures the parameter value is converted to the correct database type during execution.

Name

Gets or sets the parameter name as it appears in the SQL query.

Declaration

cs-api-definition
[Required]
public string Name { get; set; }

Property Value

string

Remarks

This property is required and must match the parameter name in the SQL command text or stored procedure.

Value

Gets or sets the parameter value to be passed to the query.

Declaration

cs-api-definition
public object Value { get; set; }

Property Value

object

Remarks

The value type should be compatible with the specified DbType for proper query execution.