dotConnect for SugarCRM Documentation
Devart.Data Namespace / SqlShimLoaderColumnCollection Class / Add Method / Add(String,DbType,Int32,Int32,Int32) Method
The name of the column.
The column type.
The column size.
The column precision.
The column scale.

In This Topic
    Add(String,DbType,Int32,Int32,Int32) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal name As String, _
       ByVal dbType As DbType, _
       ByVal size As Integer, _
       ByVal precision As Integer, _
       ByVal scale As Integer _
    ) As Integer
    public int Add( 
       string name,
       DbType dbType,
       int size,
       int precision,
       int scale
    )

    Parameters

    name
    The name of the column.
    dbType
    The column type.
    size
    The column size.
    precision
    The column precision.
    scale
    The column scale.

    Return Value

    The new item's ordinal.
    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