Delen via


EntityEntryGraphNode Class

Definition

Provides access to change tracking information and operations for a node in a graph of entities that is being traversed.

public class EntityEntryGraphNode : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry>
type EntityEntryGraphNode = class
    interface IInfrastructure<InternalEntityEntry>
Public Class EntityEntryGraphNode
Implements IInfrastructure(Of InternalEntityEntry)
Inheritance
EntityEntryGraphNode
Derived
Implements
IInfrastructure<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry>

Remarks

See TrackGraph(Object, Action<EntityEntryGraphNode>) for information on how graph nodes are used.

See Tracking entities in EF Core for more information and examples.

Constructors

EntityEntryGraphNode(InternalEntityEntry, INavigation)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

EntityEntryGraphNode(InternalEntityEntry, InternalEntityEntry, INavigation)

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.

EntityEntryGraphNode(InternalEntityEntry, InternalEntityEntry, INavigationBase)

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.

Properties

Entry

An EntityEntry for the entity instance represented by this node.

InboundNavigation

Gets the navigation property that is being traversed to reach this node in the graph.

NodeState

Gets or sets state that will be available to all nodes that are visited after this node.

SourceEntry

An EntityEntry for the entity instance from which a navigation property was traversed to the instance represented by this node.

Methods

CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation)

Creates a new node for the entity that is being traversed next in the graph.

CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigationBase)

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.

Explicit Interface Implementations

IInfrastructure<InternalEntityEntry>.Instance

Gets the internal entry that is tracking information about this entity.

This property is intended for use by extension methods. It is not intended to be used in application code.

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to