Skip to main content
.NET Framework 4.5.2+

AccessConnectionProvider.CreateForeignKey(DBTable, DBForeignKey) Method

Creates a foreign key.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.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