ConventionPropertyExtensions.GetKeyValueComparerConfigurationSource Methode

Definition

Achtung

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

Gibt die Konfigurationsquelle für GetKeyValueComparer()zurück.

C#
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetKeyValueComparerConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
C#
[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);

Parameter

property
IConventionProperty

Die Eigenschaft, für die die Konfigurationsquelle gesucht werden soll.

Gibt zurück

Die Konfigurationsquelle für GetKeyValueComparer().

Attribute

Gilt für:

Produkt Versionen (Veraltet)
Entity Framework Core 3.0, 3.1 (5.0, 6.0)