dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLoaderColumnCollection Class / Add Method / Add(String,OracleDbType,Int32,Int32,Int32,String) Method
The name of the column.
One of the OracleDbType values.
Maximum size of the column data (only for strings).
The precision of the column.
The scale of the column.
The date format of the column.

Add(String,OracleDbType,Int32,Int32,Int32,String) Method
Adds an OracleLoaderColumn to the OracleLoaderColumnCollection given the column name, column data type, column size, precision, scale and date format.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal name As String, _
   ByVal dbType As OracleDbType, _
   ByVal size As Integer, _
   ByVal precision As Integer, _
   ByVal scale As Integer, _
   ByVal dateFormat As String _
) As Integer
 

Parameters

name
The name of the column.
dbType
One of the OracleDbType values.
size
Maximum size of the column data (only for strings).
precision
The precision of the column.
scale
The scale of the column.
dateFormat
The date format of the column.

Return Value

The new column's index.
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