EquatableKeyValue<TKey> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 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>
键比较器。