Compartilhar via


RelationalKeyExtensions.GetNameConfigurationSource(IConventionKey) Método

Definição

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

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key);
static member GetNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionKey -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetNameConfigurationSource (key As IConventionKey) As Nullable(Of ConfigurationSource)

Parâmetros

key
IConventionKey

A chave.

Retornos

O ConfigurationSource para o nome da restrição.

Aplica-se a