Skip to main content

DBTable.IsForeignKeyIncluded(DBForeignKey) Method

Indicates whether the DBTable.ForeignKeys collection contains the specified DBForeignKey object.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public bool IsForeignKeyIncluded(
    DBForeignKey foreignKey
)

Parameters

Name Type Description
foreignKey DBForeignKey

A DBForeignKey object to locate in the collection.

Returns

Type Description
Boolean

true if the collection contains the specified object; otherwise, false.

See Also