Table of Contents

Interface IIdentityMap

Namespace
Microsoft.EntityFrameworkCore.ChangeTracking.Internal
Assembly
Microsoft.EntityFrameworkCore.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 IIdentityMap

Properties

Key

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.

IKey Key { get; }

Property Value

IKey

Methods

Add(InternalEntityEntry)

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.

void Add(InternalEntityEntry entry)

Parameters

entry InternalEntityEntry

Add(IReadOnlyList<object?>, InternalEntityEntry)

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.

void Add(IReadOnlyList<object?> keyValues, InternalEntityEntry entry)

Parameters

keyValues IReadOnlyList<object>
entry InternalEntityEntry

AddOrUpdate(InternalEntityEntry)

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.

void AddOrUpdate(InternalEntityEntry entry)

Parameters

entry InternalEntityEntry

All()

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.

IEnumerable<InternalEntityEntry> All()

Returns

IEnumerable<InternalEntityEntry>

Clear()

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.

void Clear()

Contains(IForeignKey, in ValueBuffer)

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 Contains(IForeignKey foreignKey, in ValueBuffer valueBuffer)

Parameters

foreignKey IForeignKey
valueBuffer ValueBuffer

Returns

bool

Contains(in ValueBuffer)

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 Contains(in ValueBuffer valueBuffer)

Parameters

valueBuffer ValueBuffer

Returns

bool

FindDependentsMap(IForeignKey)

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.

IDependentsMap? FindDependentsMap(IForeignKey foreignKey)

Parameters

foreignKey IForeignKey

Returns

IDependentsMap

GetDependentsMap(IForeignKey)

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.

IDependentsMap GetDependentsMap(IForeignKey foreignKey)

Parameters

foreignKey IForeignKey

Returns

IDependentsMap

Remove(InternalEntityEntry)

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.

void Remove(InternalEntityEntry entry)

Parameters

entry InternalEntityEntry

RemoveUsingRelationshipSnapshot(InternalEntityEntry)

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.

void RemoveUsingRelationshipSnapshot(InternalEntityEntry entry)

Parameters

entry InternalEntityEntry

TryGetEntry(InternalEntityEntry)

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.

InternalEntityEntry? TryGetEntry(InternalEntityEntry entry)

Parameters

entry InternalEntityEntry

Returns

InternalEntityEntry

TryGetEntry(IForeignKey, InternalEntityEntry)

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.

InternalEntityEntry? TryGetEntry(IForeignKey foreignKey, InternalEntityEntry dependentEntry)

Parameters

foreignKey IForeignKey
dependentEntry InternalEntityEntry

Returns

InternalEntityEntry

TryGetEntry(IReadOnlyList<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.

InternalEntityEntry? TryGetEntry(IReadOnlyList<object?> keyValues)

Parameters

keyValues IReadOnlyList<object>

Returns

InternalEntityEntry

TryGetEntry(IReadOnlyList<object?>, bool, out 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.

InternalEntityEntry? TryGetEntry(IReadOnlyList<object?> keyValues, bool throwOnNullKey, out bool hasNullKey)

Parameters

keyValues IReadOnlyList<object>
throwOnNullKey bool
hasNullKey bool

Returns

InternalEntityEntry

TryGetEntryUsingPreStoreGeneratedValues(IForeignKey, InternalEntityEntry)

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.

InternalEntityEntry? TryGetEntryUsingPreStoreGeneratedValues(IForeignKey foreignKey, InternalEntityEntry dependentEntry)

Parameters

foreignKey IForeignKey
dependentEntry InternalEntityEntry

Returns

InternalEntityEntry

TryGetEntryUsingRelationshipSnapshot(IForeignKey, InternalEntityEntry)

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.

InternalEntityEntry? TryGetEntryUsingRelationshipSnapshot(IForeignKey foreignKey, InternalEntityEntry dependentEntry)

Parameters

foreignKey IForeignKey
dependentEntry InternalEntityEntry

Returns

InternalEntityEntry