Partilhar via


ConventionPropertyExtensions.GetKeyValueComparerConfigurationSource Método

Definição

Cuidado

Use GetValueComparerConfigurationSource. Only a single value comparer is allowed for a given property.

Retorna a origem da configuração para GetKeyValueComparer().

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetKeyValueComparerConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
[System.Obsolete("Use GetValueComparerConfigurationSource. Only a single value comparer is allowed for a given property.")]
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetKeyValueComparerConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member GetKeyValueComparerConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
[<System.Obsolete("Use GetValueComparerConfigurationSource. Only a single value comparer is allowed for a given property.")>]
static member GetKeyValueComparerConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetKeyValueComparerConfigurationSource (property As IConventionProperty) As Nullable(Of ConfigurationSource)

Parâmetros

property
IConventionProperty

A propriedade para a qual localizar a origem da configuração.

Retornos

A origem da configuração para GetKeyValueComparer().

Atributos

Aplica-se a