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


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

    Parameters

    foreignKey
    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