New to Telerik ReportingStart a free 30-day trial

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:

C#
public class QueryInfoParameter

Inheritance: objectQueryInfoParameter

Constructors

C#
public QueryInfoParameter()

Properties

DbType

DbType

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

C#
[Required]
public DbType DbType { get; set; }
Remarks:

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

Name

string

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

C#
[Required]
public string Name { get; set; }
Remarks:

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

Value

object

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

C#
public object Value { get; set; }
Remarks:

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