PropertyExtensions.GetStructuralValueComparer(IProperty) 方法

定义

注意

Use GetKeyValueComparer. A separate structural comparer is no longer supported.

ValueComparer获取要用于此属性的结构副本的 ;如果未设置任何副本,null则获取 。

public static Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer GetStructuralValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use GetKeyValueComparer. A separate structural comparer is no longer supported.")]
public static Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer GetStructuralValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use GetKeyValueComparer. A separate structural comparer is no longer supported.")]
public static Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? GetStructuralValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetStructuralValueComparer : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer
[<System.Obsolete("Use GetKeyValueComparer. A separate structural comparer is no longer supported.")>]
static member GetStructuralValueComparer : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer
<Extension()>
Public Function GetStructuralValueComparer (property As IProperty) As ValueComparer

参数

property
IProperty

属性。

返回

比较器;如果未设置任何值, null 则为 。

属性

适用于