Share via


ForeignKeyExtensions.IsBaseLinking(IForeignKey) Method

Definition

Returns a value indicating whether the foreign key is defined on the primary key and pointing to the same primary key.

public static bool IsBaseLinking (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member IsBaseLinking : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> bool
<Extension()>
Public Function IsBaseLinking (foreignKey As IForeignKey) As Boolean

Parameters

foreignKey
IForeignKey

The foreign key.

Returns

A value indicating whether the foreign key is defined on the primary key and pointing to the same primary key.

Applies to