VistaDB 6
VistaDB.DDA Namespace / IVistaDBTable Interface / CreateIdentity Method
Column to set identity for
Initial value. If null string is passed the initial value stays current default value
Step to increment/decrement identity counter


In This Topic
    CreateIdentity Method
    In This Topic
    Create and initialize identity counter. Applied to integer type columns only.
    Syntax
    'Declaration
     
    
    Sub CreateIdentity( _
       ByVal columnName As System.String, _
       ByVal seedExpression As System.String, _
       ByVal stepExpression As System.String _
    ) 
    'Usage
     
    
    Dim instance As IVistaDBTable
    Dim columnName As System.String
    Dim seedExpression As System.String
    Dim stepExpression As System.String
     
    instance.CreateIdentity(columnName, seedExpression, stepExpression)
    void CreateIdentity( 
       System.string columnName,
       System.string seedExpression,
       System.string stepExpression
    )

    Parameters

    columnName
    Column to set identity for
    seedExpression
    Initial value. If null string is passed the initial value stays current default value
    stepExpression
    Step to increment/decrement identity counter
    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