Udostępnij za pośrednictwem


RelationalForeignKeyExtensions.GetConstraintNameConfigurationSource Metoda

Definicja

Pobiera element ConfigurationSource dla nazwy ograniczenia.

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetConstraintNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey);
static member GetConstraintNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetConstraintNameConfigurationSource (foreignKey As IConventionForeignKey) As Nullable(Of ConfigurationSource)

Parametry

foreignKey
IConventionForeignKey

Klucz obcy.

Zwraca

Element ConfigurationSource dla nazwy ograniczenia.

Dotyczy