ConventionPropertyExtensions.GetStructuralValueComparerConfigurationSource 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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);
[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)
参数
- property
- IConventionProperty
要为其查找配置源的属性。
返回
的配置 GetStructuralValueComparer(IProperty)源。
- 属性