Class IdentityMap<TKey>
- 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 IdentityMap<TKey> : IIdentityMap<TKey>, IIdentityMap where TKey : notnull
Type Parameters
TKey
- Inheritance
-
IdentityMap<TKey>
- Implements
-
IIdentityMap<TKey>
- Derived
- Inherited Members
Constructors
IdentityMap(IKey, IPrincipalKeyValueFactory<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 IdentityMap(IKey key, IPrincipalKeyValueFactory<TKey> principalKeyValueFactory, bool sensitiveLoggingEnabled)
Parameters
key
IKeyprincipalKeyValueFactory
IPrincipalKeyValueFactory<TKey>sensitiveLoggingEnabled
bool
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.
public virtual IKey Key { get; }
Property Value
PrincipalKeyValueFactory
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.
protected virtual IPrincipalKeyValueFactory<TKey> PrincipalKeyValueFactory { get; }
Property Value
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.
public virtual 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.
public virtual void Add(IReadOnlyList<object?> keyValues, InternalEntityEntry entry)
Parameters
keyValues
IReadOnlyList<object>entry
InternalEntityEntry
Add(TKey, 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.
protected virtual void Add(TKey key, InternalEntityEntry entry)
Parameters
key
TKeyentry
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.
public virtual 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.
public virtual IEnumerable<InternalEntityEntry> All()
Returns
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.
public virtual 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.
public virtual bool Contains(IForeignKey foreignKey, in ValueBuffer valueBuffer)
Parameters
foreignKey
IForeignKeyvalueBuffer
ValueBuffer
Returns
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.
public virtual bool Contains(in ValueBuffer valueBuffer)
Parameters
valueBuffer
ValueBuffer
Returns
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.
public virtual IDependentsMap? FindDependentsMap(IForeignKey foreignKey)
Parameters
foreignKey
IForeignKey
Returns
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.
public virtual IDependentsMap GetDependentsMap(IForeignKey foreignKey)
Parameters
foreignKey
IForeignKey
Returns
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.
public virtual void Remove(InternalEntityEntry entry)
Parameters
entry
InternalEntityEntry
Remove(TKey, 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.
protected virtual void Remove(TKey key, InternalEntityEntry entry)
Parameters
key
TKeyentry
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.
public virtual 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.
public virtual InternalEntityEntry? TryGetEntry(InternalEntityEntry entry)
Parameters
entry
InternalEntityEntry
Returns
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.
public virtual InternalEntityEntry? TryGetEntry(IForeignKey foreignKey, InternalEntityEntry dependentEntry)
Parameters
foreignKey
IForeignKeydependentEntry
InternalEntityEntry
Returns
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.
public virtual InternalEntityEntry? TryGetEntry(IReadOnlyList<object?> keyValues)
Parameters
keyValues
IReadOnlyList<object>
Returns
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.
public virtual InternalEntityEntry? TryGetEntry(IReadOnlyList<object?> keyValues, bool throwOnNullKey, out bool hasNullKey)
Parameters
keyValues
IReadOnlyList<object>throwOnNullKey
boolhasNullKey
bool
Returns
TryGetEntryTyped(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 InternalEntityEntry? TryGetEntryTyped(TKey keyValue)
Parameters
keyValue
TKey
Returns
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.
public virtual InternalEntityEntry? TryGetEntryUsingPreStoreGeneratedValues(IForeignKey foreignKey, InternalEntityEntry dependentEntry)
Parameters
foreignKey
IForeignKeydependentEntry
InternalEntityEntry
Returns
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.
public virtual InternalEntityEntry? TryGetEntryUsingRelationshipSnapshot(IForeignKey foreignKey, InternalEntityEntry dependentEntry)
Parameters
foreignKey
IForeignKeydependentEntry
InternalEntityEntry