Table of Contents

Class EntityReferenceMap

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 EntityReferenceMap
Inheritance
EntityReferenceMap
Inherited Members

Constructors

EntityReferenceMap(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 EntityReferenceMap(bool hasSubMap)

Parameters

hasSubMap bool

Methods

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()

GetCountForState(bool, bool, bool, bool, 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 int GetCountForState(bool added, bool modified, bool deleted, bool unchanged, bool countDeletedSharedIdentity)

Parameters

added bool
modified bool
deleted bool
unchanged bool
countDeletedSharedIdentity bool

Returns

int

GetEntriesForState(bool, bool, bool, bool, 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 IEnumerable<InternalEntityEntry> GetEntriesForState(bool added, bool modified, bool deleted, bool unchanged, bool returnDeletedSharedIdentity)

Parameters

added bool
modified bool
deleted bool
unchanged bool
returnDeletedSharedIdentity bool

Returns

IEnumerable<InternalEntityEntry>

GetNonDeletedEntities<TEntity>()

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<TEntity> GetNonDeletedEntities<TEntity>() where TEntity : class

Returns

IEnumerable<TEntity>

Type Parameters

TEntity

TryGet(object, IEntityType?, out InternalEntityEntry?, 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 bool TryGet(object entity, IEntityType? entityType, out InternalEntityEntry? entry, bool throwOnNonUniqueness)

Parameters

entity object
entityType IEntityType
entry InternalEntityEntry
throwOnNonUniqueness bool

Returns

bool

Update(InternalEntityEntry, EntityState, EntityState?)

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(InternalEntityEntry entry, EntityState state, EntityState? oldState)

Parameters

entry InternalEntityEntry
state EntityState
oldState EntityState?