다음을 통해 공유


ConventionPropertyExtensions.GetKeyValueComparerConfigurationSource 메서드

정의

주의

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

에 대한 구성 원본을 반환합니다 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)

매개 변수

property
IConventionProperty

구성 원본을 찾을 속성입니다.

반환

에 대한 구성 원본입니다 GetKeyValueComparer().

특성

적용 대상