DBTable.IsForeignKeyIncluded(DBForeignKey) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v20.1.dll

Declaration

public bool IsForeignKeyIncluded(
    DBForeignKey foreignKey
)
Public Function IsForeignKeyIncluded(
    foreignKey As DBForeignKey
) As Boolean

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