Sdílet prostřednictvím


ModelValidator.IsRedundant(IForeignKey) Metoda

Definice

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

protected virtual bool IsRedundant (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member IsRedundant : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> bool
override this.IsRedundant : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> bool
Protected Overridable 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