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


In This Topic
    AddPrimaryKey Method (NSqlServerTable)
    In This Topic
    Adds a primary key.
    Syntax
    'Declaration
     
    
    Public Overrides Sub AddPrimaryKey( _
       ByVal primaryKey As NTableConstraint _
    ) 
    'Usage
     
    
    Dim instance As NSqlServerTable
    Dim primaryKey As NTableConstraint
     
    instance.AddPrimaryKey(primaryKey)
    public override 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