dotConnect for Dynamics 365 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.

Add(String,DbType,Int32,Int32,Int32) Method
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
 

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