RelationalModelValidator.IsRedundant(IForeignKey) Metoda

Definicja

Zwraca wartość wskazującą, czy dany klucz obcy jest nadmiarowy.

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

Klucz obcy.

Zwraca

Wartość wskazująca, czy dany klucz obcy jest nadmiarowy.

Dotyczy