Skip to main content
A newer version of this page is available. .

DBTable.AddForeignKey(DBForeignKey) Method

Appends a DBForeignKey object to the DBTable.ForeignKeys collection.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v21.1.dll

NuGet Package: DevExpress.Data

Declaration

public void AddForeignKey(
    DBForeignKey foreignKey
)

Parameters

Name Type Description
foreignKey DBForeignKey

A DBForeignKey object to be added to the collection.

See Also