EntityEntryGraphNode.CreateNode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Creates a new node for the entity that is being traversed next in the graph.
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigation reachedVia);
abstract member CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
Public Overridable 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)
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 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 virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigationBase reachedVia);
abstract member CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
Public Overridable 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
Entity Framework