Udostępnij za pośrednictwem


EquatableKeyValue<TKey> Konstruktor

Definicja

Tworzy nowe wystąpienie 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))

Parametry

metadata
IAnnotatable

Skojarzone metadane.

keyValue
TKey

Podstawowa wartość klucza.

keyComparer
IEqualityComparer<TKey>

Porównanie kluczy.

Dotyczy