dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlParameterCollection Class / Add Method / Add(String,Object) Method
The name of the parameter.
The Devart.Common.DbParameterBase.Value of the PgSqlParameter to add to the collection.

In This Topic
    Add(String,Object) Method
    In This Topic
    Adds a PgSqlParameter to the PgSqlParameterCollection given the parameter name and value.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal parameterName As String, _
       ByVal value As Object _
    ) As PgSqlParameter
    public PgSqlParameter Add( 
       string parameterName,
       object value
    )

    Parameters

    parameterName
    The name of the parameter.
    value
    The Devart.Common.DbParameterBase.Value of the PgSqlParameter to add to the collection.

    Return Value

    The new PgSqlParameter object.
    See Also