PgSqlParameter Constructor(String,PgSqlType,Int32,ParameterDirection,Boolean,Byte,Byte,String,DataRowVersion,Object)
Initializes a new instance of the
PgSqlParameter class with the parameter name, data type, width, source column name, parameter direction, numeric precision, and other properties.
The following example creates a new
PgSqlParameter and displays the
ParameterName.
public void CreatePgSqlParameter()
{
PgSqlParameter myParameter = new PgSqlParameter("DName", PgSqlType.VarChar, 15, ParameterDirection.Output, true, 0, 0, "DName", DataRowVersion.Current, "DEVELOPMENT");
MessageBox.Show(myParameter.ToString());
}
Public Sub CreatePgSqlParameter()
Dim myParameter As New PgSqlParameter("DName", PgSqlType.VarChar, 15, ParameterDirection.Output, True, 0, 0, "DName", DataRowVersion.Current, "DEVELOPMENT")
MessageBox.Show(myParameter.ToString())
End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2