Partilhar via


RelationalForeignKeyExtensions.GetConstraintNameConfigurationSource Método

Definição

Obtém o ConfigurationSource para o nome da restrição.

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)

Parâmetros

foreignKey
IConventionForeignKey

A chave estrangeira.

Retornos

O ConfigurationSource para o nome da restrição.

Aplica-se a