Npgsql API Documentation |

# NpgsqlParameter Constructor

[This is preliminary documentation and subject to change.]

Initializes a new instance of the NpgsqlParameter class.

#### Overload List

Initializes a new instance of the NpgsqlParameter class.

> public NpgsqlParameter();

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

> public NpgsqlParameter(string,NpgsqlDbType);

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

> public NpgsqlParameter(string,NpgsqlDbType,int);

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

> public NpgsqlParameter(string,NpgsqlDbType,int,string);

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.

> public NpgsqlParameter(string,NpgsqlDbType,int,string,ParameterDirection,bool,byte,byte,DataRowVersion,object);

> public NpgsqlParameter(string,DbType);

> public NpgsqlParameter(string,DbType,int);

> public NpgsqlParameter(string,DbType,int,string);

> public NpgsqlParameter(string,DbType,int,string,ParameterDirection,bool,byte,byte,DataRowVersion,object);

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

> public NpgsqlParameter(string,object);

#### See Also

NpgsqlParameter Class | Npgsql Namespace