IEntityEntryGraphIterator.TraverseGraph 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
TraverseGraph<TState>(EntityEntryGraphNode<TState>, Func<EntityEntryGraphNode<TState>,Boolean>) |
Traverses a graph of entities allowing an action to be taken at each node. |
TraverseGraph<TState>(EntityEntryGraphNode, TState, Func<EntityEntryGraphNode,TState,Boolean>) |
Traverses a graph of entities allowing an action to be taken at each node. |
TraverseGraph<TState>(EntityEntryGraphNode<TState>, Func<EntityEntryGraphNode<TState>,Boolean>)
- Source:
- IEntityEntryGraphIterator.cs
- Source:
- IEntityEntryGraphIterator.cs
- Source:
- IEntityEntryGraphIterator.cs
Traverses a graph of entities allowing an action to be taken at each node.
public void TraverseGraph<TState> (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode<TState> node, Func<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode<TState>,bool> handleNode);
abstract member TraverseGraph : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode<'State> * Func<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode<'State>, bool> -> unit
Public Sub TraverseGraph(Of TState) (node As EntityEntryGraphNode(Of TState), handleNode As Func(Of EntityEntryGraphNode(Of TState), Boolean))
Type Parameters
- TState
The type of the state object.
Parameters
The node that is being visited.
- handleNode
- Func<EntityEntryGraphNode<TState>,Boolean>
A delegate to call to handle the node.
Applies to
TraverseGraph<TState>(EntityEntryGraphNode, TState, Func<EntityEntryGraphNode,TState,Boolean>)
Traverses a graph of entities allowing an action to be taken at each node.
public void TraverseGraph<TState> (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode node, TState state, Func<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode,TState,bool> handleNode);
abstract member TraverseGraph : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * 'State * Func<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode, 'State, bool> -> unit
Public Sub TraverseGraph(Of TState) (node As EntityEntryGraphNode, state As TState, handleNode As Func(Of EntityEntryGraphNode, TState, Boolean))
Type Parameters
- TState
The type of the state object.
Parameters
- node
- EntityEntryGraphNode
The node that is being visited.
- state
- TState
An arbitrary state object.
- handleNode
- Func<EntityEntryGraphNode,TState,Boolean>
A delegate to call to handle the node.
Applies to
Entity Framework