MySqlParameter Properties

MySQL Connector/Net

MySqlParameter Properties

The MySqlParameter type exposes the following members.

Properties
  Name Description
Public property DbType
Gets or sets the DbType of the parameter.
(Overrides DbParameterDbType.)
Public property Direction
Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter. As of MySql version 4.1 and earlier, input-only is the only valid choice.
(Overrides DbParameterDirection.)
Public property IsNullable
Gets or sets a value indicating whether the parameter accepts null values.
(Overrides DbParameterIsNullable.)
Public property MySqlDbType
Gets or sets the MySqlDbType of the parameter.
Public property ParameterName (Overrides DbParameterParameterName.)
Public property PossibleValues
Returns the possible values for this parameter if this parameter is of type SET or ENUM. Returns null otherwise.
Public property Precision
Gets or sets the maximum number of digits used to represent the Value property.
Public property Scale
Gets or sets the number of decimal places to which Value is resolved.
Public property Size
Gets or sets the maximum size, in bytes, of the data within the column.
(Overrides DbParameterSize.)
Public property SourceColumn
Gets or sets the name of the source column that is mapped to the DataSet and used for loading or returning the Value.
(Overrides DbParameterSourceColumn.)
Public property SourceColumnNullMapping
Sets or gets a value which indicates whether the source column is nullable. This allows DbCommandBuilder to correctly generate Update statements for nullable columns.
(Overrides DbParameterSourceColumnNullMapping.)
Public property SourceVersion
Gets or sets the DataRowVersion to use when loading Value.
(Overrides DbParameterSourceVersion.)
Public property Value
Gets or sets the value of the parameter.
(Overrides DbParameterValue.)
Top
See Also