Table of Contents

Class KeyValueIndex<TKey>

Namespace
Microsoft.EntityFrameworkCore.Update.Internal
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public sealed class KeyValueIndex<TKey> : IKeyValueIndex

Type Parameters

TKey
Inheritance
KeyValueIndex<TKey>
Implements
Inherited Members

Constructors

KeyValueIndex(IForeignKey, TKey, IEqualityComparer<TKey>, bool)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public KeyValueIndex(IForeignKey foreignKey, TKey keyValue, IEqualityComparer<TKey> keyComparer, bool fromOriginalValues)

Parameters

foreignKey IForeignKey
keyValue TKey
keyComparer IEqualityComparer<TKey>
fromOriginalValues bool

Methods

Equals(object)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public override int GetHashCode()

Returns

int

WithOriginalValuesFlag()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public IKeyValueIndex WithOriginalValuesFlag()

Returns

IKeyValueIndex