dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleParameterCollection Class / Add Method / Add(String,OracleDbType,Int32,ParameterDirection,String,DataRowVersion,Boolean,Object) Method
The name of the parameter.
One of the OracleDbType values.
The maximum size, in bytes, of the data the parameter can contain.
Specifies whether the parameter is input, output, both, or it is the return value.
The name of the source column. For internal use.
One of the System.Data.DataRowVersion values.
Specifies whether the source column is nullable.
The Devart.Common.DbParameterBase.Value of the OracleParameter to add to the collection.

In This Topic
    Add(String,OracleDbType,Int32,ParameterDirection,String,DataRowVersion,Boolean,Object) Method
    In This Topic
    Adds the specified OracleParameter to the OracleParameterCollection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal parameterName As String, _
       ByVal dbType As OracleDbType, _
       ByVal size As Integer, _
       ByVal direction As ParameterDirection, _
       ByVal sourceColumn As String, _
       ByVal sourceVersion As DataRowVersion, _
       ByVal sourceColumnNullMapping As Boolean, _
       ByVal value As Object _
    ) As OracleParameter

    Parameters

    parameterName
    The name of the parameter.
    dbType
    One of the OracleDbType values.
    size
    The maximum size, in bytes, of the data the parameter can contain.
    direction
    Specifies whether the parameter is input, output, both, or it is the return value.
    sourceColumn
    The name of the source column. For internal use.
    sourceVersion
    One of the System.Data.DataRowVersion values.
    sourceColumnNullMapping
    Specifies whether the source column is nullable.
    value
    The Devart.Common.DbParameterBase.Value of the OracleParameter to add to the collection.

    Return Value

    The new OracleParameter object.
    Requirements

    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

    See Also