dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLoaderColumn Class / OracleLoaderColumn Constructor / OracleLoaderColumn Constructor(String,OracleDbType)
The name of the column.
Example

In This Topic
    OracleLoaderColumn Constructor(String,OracleDbType)
    In This Topic
    Initializes a new instance of the OracleLoaderColumn class with the column name and column data type.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal name As String, _
       ByVal dbType As OracleDbType _
    )
    public OracleLoaderColumn( 
       string name,
       OracleDbType dbType
    )

    Parameters

    name
    The name of the column.
    dbType
    Remarks
    Use this constructor to create a OracleLoaderColumn instance with column name and column data type.
    Example
    The following example creates a OracleLoaderColumn and sets some of its properties.
    public void CreateMyLoaderColumn()
    {
      OracleLoaderColumn column = new OracleLoaderColumn("DName", OracleDbType.VarChar);
      column.Size = 15;
    }
    Public Sub CreateMyLoaderColumn()
      Dim column As OracleLoaderColumn
      column = New OracleLoaderColumn("DName", OracleDbType.VarChar)
      column.Size = 15
    End Sub
    See Also