Skip to main content
.NET 6.0+

AccessConnectionProvider.CreateForeignKey(DBTable, DBForeignKey) Method

Creates a foreign key.

Namespace: DevExpress.Xpo.DB

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