EquatableKeyValue<TKey> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of 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))
Parameters
- metadata
- IAnnotatable
The associated metadata.
- keyValue
- TKey
The underlying key value.
- keyComparer
- IEqualityComparer<TKey>
The key comparer.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework