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

DBTable.IsForeignKeyIncluded(DBForeignKey) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v18.2.dll

Declaration

public bool IsForeignKeyIncluded(
    DBForeignKey fk
)

Parameters

Name Type Description
fk 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