MySql.Data.MySqlClient.MySqlParameter.MySqlParameter C# (CSharp) Method

MySqlParameter() public method

Initializes a new instance of the MySqlParameter class with the parameter name, the type of the parameter, the size of the parameter, a ParameterDirection, the precision of the parameter, the scale of the parameter, the source column, a DataRowVersion to use, and the value of the parameter.
public MySqlParameter ( string parameterName, MySqlDbType dbType, int size, ParameterDirection direction, bool isNullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value ) : System
parameterName string The name of the parameter to map.
dbType MySqlDbType One of the values.
size int The length of the parameter.
direction ParameterDirection One of the values.
isNullable bool true if the value of the field can be null, otherwise false.
precision byte The total number of digits to the left and right of the decimal point to which is resolved.
scale byte The total number of decimal places to which is resolved.
sourceColumn string The name of the source column.
sourceVersion DataRowVersion One of the values.
value object An that is the value of the .
return System
        public MySqlParameter(string parameterName, MySqlDbType dbType, int size, ParameterDirection direction,
                              bool isNullable, byte precision, byte scale, string sourceColumn,
                              DataRowVersion sourceVersion,
                              object value)
            : this(parameterName, dbType, size, sourceColumn)
        {
            this.direction = direction;
            this.sourceVersion = sourceVersion;
            Value = value;
        }

Same methods

MySqlParameter::MySqlParameter ( ) : System
MySqlParameter::MySqlParameter ( string parameterName, MySqlDbType dbType ) : System
MySqlParameter::MySqlParameter ( string name, MySqlDbType type, ParameterDirection dir, string col, DataRowVersion ver, object val ) : System
MySqlParameter::MySqlParameter ( string parameterName, MySqlDbType dbType, int size ) : System
MySqlParameter::MySqlParameter ( string parameterName, MySqlDbType dbType, int size, string sourceColumn ) : System
MySqlParameter::MySqlParameter ( string parameterName, object value ) : System