EquatableKeyValue<TKey> 构造函数

定义

创建 EquatableKeyValue<TKey> 的新实例

public EquatableKeyValue (Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable metadata, TKey keyValue, System.Collections.Generic.IEqualityComparer<TKey> keyComparer);
public EquatableKeyValue (Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable metadata, TKey? keyValue, System.Collections.Generic.IEqualityComparer<TKey> keyComparer);
new Microsoft.EntityFrameworkCore.Update.EquatableKeyValue<'Key> : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * 'Key * System.Collections.Generic.IEqualityComparer<'Key> -> Microsoft.EntityFrameworkCore.Update.EquatableKeyValue<'Key>
Public Sub New (metadata As IAnnotatable, keyValue As TKey, keyComparer As IEqualityComparer(Of TKey))

参数

metadata
IAnnotatable

关联的元数据。

keyValue
TKey

基础键值。

keyComparer
IEqualityComparer<TKey>

键比较器。

适用于