Sdílet prostřednictvím


RelationalModelValidator.IsRedundant(IForeignKey) Metoda

Definice

Vrátí hodnotu označující, jestli je daný cizí klíč redundantní.

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

Parametry

foreignKey
IForeignKey

Cizí klíč.

Návraty

Hodnota označující, jestli je daný cizí klíč redundantní.

Platí pro