Nevron Open Vision Documentation
Nevron.Nov.Data.DBModel Namespace / NTableBase Class / AddPrimaryKey Method


In This Topic
    AddPrimaryKey Method (NTableBase)
    In This Topic
    Adds a primary key.
    Syntax
    'Declaration
     
    
    Public MustOverride Sub AddPrimaryKey( _
       ByVal primaryKey As NTableConstraint _
    ) 
    'Usage
     
    
    Dim instance As NTableBase
    Dim primaryKey As NTableConstraint
     
    instance.AddPrimaryKey(primaryKey)
    public abstract void AddPrimaryKey( 
       NTableConstraint primaryKey
    )

    Parameters

    primaryKey
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also