Npgsql Api Docs |

# NpgsqlParameter Constructor

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 m_Name and the data type.

> public NpgsqlParameter(string,NpgsqlDbType);

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

> public NpgsqlParameter(string,NpgsqlDbType,int);

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

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

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.

> 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 m_Name and a value of the new NpgsqlParameter.

> public NpgsqlParameter(string,object);

#### See Also

NpgsqlParameter Class | Npgsql Namespace