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

MySqlParameter() public method

Initializes a new instance of the MySqlParameter class with the parameter name, the MySqlDbType, the size, and the source column name.
public MySqlParameter ( string parameterName, MySqlDbType dbType, int size, string sourceColumn ) : System
parameterName string The name of the parameter to map.
dbType MySqlDbType One of the values.
size int The length of the parameter.
sourceColumn string The name of the source column.
return System
        public MySqlParameter(string parameterName, MySqlDbType dbType, int size, string sourceColumn)
            :
                this(parameterName, dbType)
        {
            this.size = size;
            direction = ParameterDirection.Input;
            this.sourceColumn = sourceColumn;
            sourceVersion = DataRowVersion.Current;
        }

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, ParameterDirection direction, bool isNullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value ) : System
MySqlParameter::MySqlParameter ( string parameterName, object value ) : System