CoreTypeMapping.StructuralComparer 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use KeyComparer. Key comparers must implement structural comparisons and deep copies.
ValueComparer添加了自定义值比较,以便在需要深度/结构复制和/或比较时使用。
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer StructuralComparer { get; }
[System.Obsolete("Use KeyComparer. Key comparers must implement structural comparisons and deep copies.")]
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer StructuralComparer { get; }
member this.StructuralComparer : Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer
[<System.Obsolete("Use KeyComparer. Key comparers must implement structural comparisons and deep copies.")>]
member this.StructuralComparer : Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer
Public Overridable ReadOnly Property StructuralComparer As ValueComparer
属性值
- 属性
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈