EntityEntryGraphNode 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 : IInfrastructure<InternalEntityEntry>
Public Class EntityEntryGraphNode
    Implements IInfrastructure(Of InternalEntityEntry)
Inheritance
System.ObjectSystem.Object
EntityEntryGraphNodeEntityEntryGraphNode
Implements

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

EntityEntryGraphNode(InternalEntityEntry, INavigation) 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.

public EntityEntryGraphNode(InternalEntityEntry internalEntityEntry, INavigation inboundNavigation)
Public Sub New(internalEntityEntry As InternalEntityEntry, inboundNavigation As INavigation)
Parameters
inboundNavigation
INavigation INavigation

Properties

Entry Entry

Gets the entry tracking information about this entity.

public virtual EntityEntry Entry { get; }
Public Overridable ReadOnly Property Entry As EntityEntry

InboundNavigation InboundNavigation

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

public virtual INavigation InboundNavigation { get; }
Public Overridable ReadOnly Property InboundNavigation As INavigation

NodeState NodeState

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

public virtual object NodeState { get; set; }
Public Overridable Property NodeState As Object
Value
System.Object System.Object

Methods

CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation) CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation)

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

public virtual EntityEntryGraphNode CreateNode(EntityEntryGraphNode currentNode, InternalEntityEntry internalEntityEntry, INavigation reachedVia)
Public Overridable Function CreateNode(currentNode As EntityEntryGraphNode, internalEntityEntry As InternalEntityEntry, reachedVia As INavigation) As EntityEntryGraphNode
Parameters
currentNode
EntityEntryGraphNode EntityEntryGraphNode

The node that the entity is being traversed from.

internalEntityEntry
InternalEntityEntry InternalEntityEntry

The internal entry tracking information about the entity being traversed to.

reachedVia
INavigation INavigation

The navigation property that is being traversed to reach the new node.

Returns

The newly created node.

Explicit Interface Implementations

IInfrastructure.Instance Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure.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.

InternalEntityEntry IInfrastructure<InternalEntityEntry>.Instance { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry>.Instance As InternalEntityEntry Implements IInfrastructure(Of InternalEntityEntry).Instance
Returns