Npgsql Api Docs |

# NpgsqlParameter Constructor (String, NpgsqlDbType, Int32, String, ParameterDirection, Boolean, Byte, Byte, DataRowVersion, Object)

Initializes a new instance of the NpgsqlParameter class with the parameter m_Name, the DbType, the size, the source column m_Name, a ParameterDirection, the precision of the parameter, the scale of the parameter, a DataRowVersion to use, and the value of the parameter.

[Visual Basic]
Overloads Public Sub New( _
ByVal parameterName As String, _
ByVal parameterType As NpgsqlDbType, _
ByVal size As Integer, _
ByVal sourceColumn As String, _
ByVal direction As ParameterDirection, _
ByVal isNullable As Boolean, _
ByVal precision As Byte, _
ByVal scale As Byte, _
ByVal sourceVersion As DataRowVersion, _
ByVal value As Object _
)
[C#]
public NpgsqlParameter(
string parameterName,
NpgsqlDbType parameterType,
int size,
string sourceColumn,
ParameterDirection direction,
bool isNullable,
byte precision,
byte scale,
DataRowVersion sourceVersion,
object value
);

#### Parameters

parameterName
parameterType
size
sourceColumn
direction
isNullable
precision
scale
sourceVersion
value

#### See Also

NpgsqlParameter Class | Npgsql Namespace | NpgsqlParameter Constructor Overload List