DBTable.AddForeignKey(DBForeignKey) Method

Appends a DBForeignKey object to the DBTable.ForeignKeys collection.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v20.1.dll

Declaration

public void AddForeignKey(
    DBForeignKey foreignKey
)
Public Sub AddForeignKey(
    foreignKey As DBForeignKey
)

Parameters

Name Type Description
foreignKey DBForeignKey

A DBForeignKey object to be added to the collection.

See Also