Npgsql Api Docs |

# NpgsqlParameter Constructor (String, NpgsqlDbType, Int32, String)

Initializes a new instance of the NpgsqlParameter class with the parameter name, the DbType, the size, and the source column name.

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

#### Parameters

parameterName
  The name of the parameter to map.
parameterType
  One of the DbType values.
size
  The length of the parameter.
sourceColumn
  The name of the source column.

#### See Also

NpgsqlParameter Class | Npgsql Namespace | NpgsqlParameter Constructor Overload List