Udostępnij za pośrednictwem


ConventionPropertyExtensions.GetStructuralValueComparerConfigurationSource Metoda

Definicja

Przestroga

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

Zwraca źródło konfiguracji dla elementu GetStructuralValueComparer(IProperty).

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetStructuralValueComparerConfigurationSource (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? GetStructuralValueComparerConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member GetStructuralValueComparerConfigurationSource : 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 GetStructuralValueComparerConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetStructuralValueComparerConfigurationSource (property As IConventionProperty) As Nullable(Of ConfigurationSource)

Parametry

property
IConventionProperty

Właściwość do znalezienia źródła konfiguracji.

Zwraca

Źródło konfiguracji dla elementu GetStructuralValueComparer(IProperty).

Atrybuty

Dotyczy