共用方式為


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 為 。

屬性

適用於