dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLoaderColumn Class / OracleLoaderColumn Constructor / OracleLoaderColumn Constructor(String,OracleDbType,Int32)
The name of the column.
One of the OracleDbType values.
Maximum size of column data (only for strings).
Example

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

    Parameters

    name
    The name of the column.
    dbType
    One of the OracleDbType values.
    size
    Maximum size of column data (only for strings).
    Remarks
    Use this constructor to create a OracleLoaderColumn instance with column name, column data type and column data size.
    Example
    The following example creates a OracleLoaderColumn and sets some of its properties.
    public void CreateMyLoaderColumn(OracleLoader loader)
    {
      ...
      OracleLoaderColumn column = new OracleLoaderColumn("dname", OracleDbType.VarChar, 25);
      loader.Add(column);
      ...
    }
    Public Sub CreateMyLoaderColumn(loader as OracleLoader)
      ...
      Dim column as OracleLoaderColumn = new OracleLoaderColumn("dname", OracleDbType.VarChar, 25)
      loader.Add(column)
      ...
    End Sub
    See Also