PgSqlParameter Constructor(String,PgSqlType,Int32)
Initializes a new instance of the
PgSqlParameter class with the parameter name, data type, and width.
The following example creates a new
PgSqlParameter and sets some of its properties.
public void CreatePgSqlParameter()
{
PgSqlParameter myParameter = new PgSqlParameter("DName", PgSqlType.VarChar, 15);
myParameter.Direction = ParameterDirection.Input;
}
Public Sub CreatePgSqlParameter()
Dim myParameter As New PgSqlParameter("DName", PgSqlType.VarChar, 15)
myParameter.Direction = ParameterDirection.Input
End Sub