IEntityEntryGraphIterator.TraverseGraph Method

Definition

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>)

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

node
EntityEntryGraphNode<TState>

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