VistaDB 5






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
CreateIdentity Method
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
)
procedure CreateIdentity( 
    columnName: System.String;
    seedExpression: System.String;
    stepExpression: System.String
); 
function CreateIdentity( 
   columnName : System.String,
   seedExpression : System.String,
   stepExpression : System.String
);
void CreateIdentity( 
   System.string* columnName,
   System.string* seedExpression,
   System.string* 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