Share via


EntityEntryGraphNode<TState>.CreateNode Method

Definition

Overloads

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.

CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation)

Source:
EntityEntryGraphNode%60.cs
Source:
EntityEntryGraphNode%60.cs

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

public override Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigation reachedVia);
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
Public Overrides Function CreateNode (currentNode As EntityEntryGraphNode, internalEntityEntry As InternalEntityEntry, reachedVia As INavigation) As EntityEntryGraphNode

Parameters

currentNode
EntityEntryGraphNode

The node that the entity is being traversed from.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

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

reachedVia
INavigation

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

Returns

The newly created node.

Applies to

CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigationBase)

Source:
EntityEntryGraphNode%60.cs
Source:
EntityEntryGraphNode%60.cs
Source:
EntityEntryGraphNode%60.cs
Source:
EntityEntryGraphNode%60.cs
Source:
EntityEntryGraphNode%60.cs

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 override Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigationBase reachedVia);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public override Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigationBase reachedVia);
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
Public Overrides Function CreateNode (currentNode As EntityEntryGraphNode, internalEntityEntry As InternalEntityEntry, reachedVia As INavigationBase) As EntityEntryGraphNode

Parameters

currentNode
EntityEntryGraphNode

The node that the entity is being traversed from.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

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

reachedVia
INavigationBase

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

Returns

The newly created node.

Attributes

Applies to