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


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