Share via


RelationalModelValidator.IsRedundant(IForeignKey) Method

Definition

Returns a value indicating whether the given foreign key is redundant.

protected override bool IsRedundant (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
override this.IsRedundant : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> bool
Protected Overrides Function IsRedundant (foreignKey As IForeignKey) As Boolean

Parameters

foreignKey
IForeignKey

A foreign key.

Returns

A value indicating whether the given foreign key is redundant.

Applies to