CreateForeignKeyPart Method

Namespace:  Microsoft.Data.Tools.Model.Simple
Assembly:  Microsoft.Data.Tools.Model (in Microsoft.Data.Tools.Model.dll)

Syntax

'Declaration
Public Function CreateForeignKeyPart ( _
    columnId As QualifiedIdentifier, _
    foreignColumnId As QualifiedIdentifier _
) As IForeignKeyPart
'Usage
Dim instance As ForeignKey
Dim columnId As QualifiedIdentifier
Dim foreignColumnId As QualifiedIdentifier
Dim returnValue As IForeignKeyPart

returnValue = instance.CreateForeignKeyPart(columnId, _
    foreignColumnId)
public IForeignKeyPart CreateForeignKeyPart(
    QualifiedIdentifier columnId,
    QualifiedIdentifier foreignColumnId
)
public:
virtual IForeignKeyPart^ CreateForeignKeyPart(
    QualifiedIdentifier^ columnId, 
    QualifiedIdentifier^ foreignColumnId
) sealed
abstract CreateForeignKeyPart : 
        columnId:QualifiedIdentifier * 
        foreignColumnId:QualifiedIdentifier -> IForeignKeyPart 
override CreateForeignKeyPart : 
        columnId:QualifiedIdentifier * 
        foreignColumnId:QualifiedIdentifier -> IForeignKeyPart 
public final function CreateForeignKeyPart(
    columnId : QualifiedIdentifier, 
    foreignColumnId : QualifiedIdentifier
) : IForeignKeyPart

Parameters

Return Value

Type: Microsoft.Data.Tools.Model.Relational..::..IForeignKeyPart

Implements

IForeignKey..::..CreateForeignKeyPart(QualifiedIdentifier, QualifiedIdentifier)

See Also

Reference

ForeignKey Class

Microsoft.Data.Tools.Model.Simple Namespace