DBTable.IsForeignKeyIncluded(DBForeignKey) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v21.1.dll

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