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.v20.2.dll

NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data

Declaration

public void AddForeignKey(
    DBForeignKey foreignKey
)

Parameters

Name Type Description
foreignKey DBForeignKey

A DBForeignKey object to be added to the collection.

See Also