Overloads Public Sub New( _
ByVal parameterName As String, _
ByVal dbType As MySqlDbType, _
ByVal size As Integer _
)
Syntax: C#
public MySqlParameter(
stringparameterName,
MySqlDbTypedbType,
intsize
);
Parameters
• parameterName: The name of the parameter to map.
• dbType: One of the
• size: The length of the parameter.
See Also
MySqlParameter
List
20.2.7.1.4.1.7.1.1.3.1.1.1.4.
Initializes a new instance 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.
Syntax: Visual Basic
Overloads Public Sub New( _
ByVal parameterName As String, _
ByVal dbType As MySqlDbType, _
ByVal size As Integer, _
ByVal direction As ParameterDirection, _
ByVal isNullable As Boolean, _
ByVal precision As Byte, _
ByVal scale As Byte, _
ByVal sourceColumn As String, _
ByVal sourceVersion As DataRowVersion, _
ByVal value As Object _
)
Syntax: C#
public MySqlParameter(
stringparameterName,
MySqlDbTypedbType,
intsize,
ParameterDirectiondirection,
boolisNullable,
byteprecision,
bytescale,
stringsourceColumn,
DataRowVersionsourceVersion,
objectvalue
);
Parameters
• parameterName: The name of the parameter to map.
• dbType: One of the
Connector/Net API Reference
MySqlDbType
values.
Class,
MySql.Data.MySqlClient
Constructor
MySqlParameter
MySqlParameter
MySqlDbType
values.
Namespace,
MySqlParameter Constructor Overload
class with the parameter name, the type of the
1970
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers