NpgsqlParameter Constructor (String, NpgsqlDbType, Int32, String, ParameterDirection, Boolean, Byte, Byte, DataRowVersion, Object)
Initializes a new instance of the NpgsqlParameter class with the parameter name, the DbType, the size, the source column name, a ParameterDirection, the precision of the parameter, the scale of the parameter, a DataRowVersion to use, and the value of the parameter.
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.
-
direction
- One of the ParameterDirection values.
-
isNullable
-
true if the value of the field can be null, otherwise false.
-
precision
- The total number of digits to the left and right of the decimal point to which Value is resolved.
-
scale
- The total number of decimal places to which Value is resolved.
-
sourceVersion
- One of the DataRowVersion values.
-
value
- An Object that is the value of the NpgsqlParameter.
Remarks
Missing <remarks> documentation for M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String,System.Data.ParameterDirection,System.Boolean,System.Byte,System.Byte,System.Data.DataRowVersion,System.Object)
See Also
NpgsqlParameter Class | Npgsql Namespace | NpgsqlParameter Constructor Overload List