Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

AccessConnectionProvider.CreateForeignKey(DBTable, DBForeignKey) Method

Creates a foreign key.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public override void CreateForeignKey(
    DBTable table,
    DBForeignKey foreignKey
)

Parameters

Name Type Description
table DBTable

A DBTable object that represents the table.

foreignKey DBForeignKey

A DBForeignKey object that represents the foreign key.

See Also