Skip to main content

DBTable.AddForeignKey(DBForeignKey) Method

Appends a DBForeignKey object to the DBTable.ForeignKeys collection.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v24.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