語言

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()配置來源。

屬性

適用於