Npgsql API Documentation

NpgsqlParameter Constructor (String, NpgsqlDbType)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the NpgsqlParameter class with the parameter name and the data type.

[Visual Basic]
Overloads Public Sub New( _
   ByVal parameterName As String, _
   ByVal parameterType As NpgsqlDbType _
)
[C#]
public NpgsqlParameter(
   string parameterName,
   NpgsqlDbType parameterType
);

Parameters

parameterName
The name of the parameter to map.
parameterType
One of the DbType values.

See Also

NpgsqlParameter Class | Npgsql Namespace | NpgsqlParameter Constructor Overload List