Table of Contents

Interface IRowForeignKeyValueFactory<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 interface IRowForeignKeyValueFactory<TKey> : IRowForeignKeyValueFactory

Type Parameters

TKey
Inherited Members

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.

IEqualityComparer<TKey> EqualityComparer { get; }

Property Value

IEqualityComparer<TKey>

Methods

TryCreateDependentKeyValue(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.

bool TryCreateDependentKeyValue(IReadOnlyModificationCommand command, bool fromOriginalValues, out TKey? key)

Parameters

command IReadOnlyModificationCommand
fromOriginalValues bool
key TKey

Returns

bool

TryCreateDependentKeyValue(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.

bool TryCreateDependentKeyValue(IDictionary<string, object?> keyValues, out TKey? key)

Parameters

keyValues IDictionary<string, object>
key TKey

Returns

bool

TryCreateDependentKeyValue(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.

bool TryCreateDependentKeyValue(object?[] keyValues, out TKey? key)

Parameters

keyValues object[]
key TKey

Returns

bool