Table of Contents

Class DependentsMap<TKey>

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 class DependentsMap<TKey> : IDependentsMap where TKey : notnull

Type Parameters

TKey
Inheritance
DependentsMap<TKey>
Implements
Inherited Members

Constructors

DependentsMap(IForeignKey, IPrincipalKeyValueFactory<TKey>, IDependentKeyValueFactory<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 DependentsMap(IForeignKey foreignKey, IPrincipalKeyValueFactory<TKey> principalKeyValueFactory, IDependentKeyValueFactory<TKey> dependentKeyValueFactory)

Parameters

foreignKey IForeignKey
principalKeyValueFactory IPrincipalKeyValueFactory<TKey>
dependentKeyValueFactory IDependentKeyValueFactory<TKey>

Methods

Add(IUpdateEntry)

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 void Add(IUpdateEntry entry)

Parameters

entry IUpdateEntry

GetDependents(IUpdateEntry)

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 IEnumerable<IUpdateEntry> GetDependents(IUpdateEntry principalEntry)

Parameters

principalEntry IUpdateEntry

Returns

IEnumerable<IUpdateEntry>

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

public virtual IEnumerable<IUpdateEntry> GetDependents(IReadOnlyList<object?> keyValues)

Parameters

keyValues IReadOnlyList<object>

Returns

IEnumerable<IUpdateEntry>

GetDependentsUsingRelationshipSnapshot(IUpdateEntry)

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 IEnumerable<IUpdateEntry> GetDependentsUsingRelationshipSnapshot(IUpdateEntry principalEntry)

Parameters

principalEntry IUpdateEntry

Returns

IEnumerable<IUpdateEntry>

Remove(IUpdateEntry)

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 void Remove(IUpdateEntry entry)

Parameters

entry IUpdateEntry

Update(IUpdateEntry)

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 void Update(IUpdateEntry entry)

Parameters

entry IUpdateEntry