Class ProcedureParameter
Query parameter for request to stored procedure.
Implements
Inherited Members
Namespace: FastReport.Data
Assembly: FastReport.Base.dll
Syntax
public class ProcedureParameter : CommandParameter, IFRSerializable
Properties
DataType
Gets or sets the parameter's data type.
Declaration
public override int DataType { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
DefaultValue
Gets or sets a default value for this parameter.
Declaration
public override string DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Remarks
This value is used when you designing a report. Also it is used when report is running in case if you don't provide a value for the Expression property.
Name
Gets or sets the name of the object.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Remarks
Name of the report object must contain alpha, digit, underscore symbols only. Data objects such as Variable, TableDataSource etc. can have any characters in they names. Each component must have unique name.
Exceptions
Type | Condition |
---|---|
DuplicateNameException | Another object with such name exists. |
AncestorException | Rename an object that was introduced in the ancestor report. |
Size
Gets or sets the size of parameter's data.
Declaration
public override int Size { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Remarks
This property is used if the DataType property is set to String.