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

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

    Parameters

    name
    The name of the column.
    dbType
    One of the OracleDbType values.
    size
    Maximum size of column data.
    precision
    The precision of the column.
    scale
    The scale of the column.
    Remarks
    Use this constructor to create a OracleLoaderColumn instance with custom column name, data type, data size, precision and scale.
    Example
    The following example creates a OracleLoaderColumn and sets some of its properties.
    public void CreateMyLoaderColumn(OracleLoader loader)
    {
      ...
      OracleLoaderColumn column = new OracleLoaderColumn("deptno", OracleDbType.Integer, 0, 6, 0);
      loader.Add(column);
      ...
    }
    Public Sub CreateMyLoaderColumn(loader as OracleLoader)
      ...
      Dim column as OracleLoaderColumn = new OracleLoaderColumn("deptno", OracleDbType.Integer, 0, 6, 0)
      loader.Add(column)
      ...
    End Sub
    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