Table of Contents

Class SimpleRowIndexValueFactory<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 class SimpleRowIndexValueFactory<TKey> : IRowIndexValueFactory<TKey>, IRowIndexValueFactory

Type Parameters

TKey
Inheritance
SimpleRowIndexValueFactory<TKey>
Implements
Inherited Members

Constructors

SimpleRowIndexValueFactory(ITableIndex)

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 SimpleRowIndexValueFactory(ITableIndex index)

Parameters

index ITableIndex

Properties

EqualityComparer

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 virtual IEqualityComparer<TKey> EqualityComparer { get; }

Property Value

IEqualityComparer<TKey>

Methods

CreateEquatableIndexValue(IReadOnlyModificationCommand, 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 virtual object? CreateEquatableIndexValue(IReadOnlyModificationCommand command, bool fromOriginalValues = false)

Parameters

command IReadOnlyModificationCommand
fromOriginalValues bool

Returns

object

CreateIndexValue(IReadOnlyModificationCommand, 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 virtual object[]? CreateIndexValue(IReadOnlyModificationCommand command, bool fromOriginalValues = false)

Parameters

command IReadOnlyModificationCommand
fromOriginalValues bool

Returns

object[]

TryCreateIndexValue(IReadOnlyModificationCommand, bool, out TKey?)

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 virtual bool TryCreateIndexValue(IReadOnlyModificationCommand command, bool fromOriginalValues, out TKey? key)

Parameters

command IReadOnlyModificationCommand
fromOriginalValues bool
key TKey

Returns

bool

TryCreateIndexValue(IDictionary<string, object?>, out TKey?)

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 virtual bool TryCreateIndexValue(IDictionary<string, object?> keyValues, out TKey? key)

Parameters

keyValues IDictionary<string, object>
key TKey

Returns

bool

TryCreateIndexValue(object?[], out TKey?)

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 virtual bool TryCreateIndexValue(object?[] keyValues, out TKey? key)

Parameters

keyValues object[]
key TKey

Returns

bool