DB2eParameter Members


Table 181. Public Instance Constructors

Constructor Description
DB2eParameter() Overloaded. Initialize a new instance of the DB2eParameter class.
DB2eParameter(string, object) Overloaded. Initialize a new instance of the DB2eParameter class with the parameter name and the value of the parameter.
DB2eParameter(string, DB2eType) Overloaded. Initialize a new instance of the DB2eParameter class with the parameter name and data type.
DB2eParameter(string, DB2eType, int) Overloaded. Initialize a new instance of the DB2eParameter class with the parameter name, data type, and width.
DB2eParameter(string, DB2eType, int, string) Overloaded. Initialize a new instance of the DB2eParameter class with the parameter name, data type, width, and source column name.
DB2eParameter(string, DB2eType, int, ParameterDirection, bool, byte, byte, string, DataRowVersion, object) Overloaded. Initialize a new instance of the DB2eParameter class with the parameter name, data type, width, parameter direction, nullable boolean, numeric precision, scale, source column name, source version and value of the parameter.

Table 182. Public Instance Properties

Property Description
DB2eType Gets or sets the DB2eType of the parameter.
DbType
Direction Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
IsNullable Gets or sets a value indicating whether the parameter accepts null values.
ParameterName Gets or sets the name of the DB2eParameter.
Precision Gets or sets the maximum number of digits used to represent the Value property.
Scale Gets or sets the number of decimal places to which Value is resolved.
Size Gets or sets the maximum size, in bytes, of the data within the column.
SourceColumn Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.
SourceVersion Gets or sets the DataRowVersion to use when loading Value.
Value Gets or sets the value of the parameter.

Table 183. Public Instance Methods

Method Description
ToString Gets a string containing the ParameterName.