IEntityEntryGraphIterator.TraverseGraph 方法

定义

重载

TraverseGraph<TState>(EntityEntryGraphNode<TState>, Func<EntityEntryGraphNode<TState>,Boolean>)

遍历实体图,允许在每个节点上执行操作。

TraverseGraph<TState>(EntityEntryGraphNode, TState, Func<EntityEntryGraphNode,TState,Boolean>)

遍历实体图,允许在每个节点上执行操作。

TraverseGraph<TState>(EntityEntryGraphNode<TState>, Func<EntityEntryGraphNode<TState>,Boolean>)

Source:
IEntityEntryGraphIterator.cs
Source:
IEntityEntryGraphIterator.cs
Source:
IEntityEntryGraphIterator.cs

遍历实体图,允许在每个节点上执行操作。

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

类型参数

TState

状态对象的类型。

参数

node
EntityEntryGraphNode<TState>

正在访问的节点。

handleNode
Func<EntityEntryGraphNode<TState>,Boolean>

调用以处理节点的委托。

适用于

TraverseGraph<TState>(EntityEntryGraphNode, TState, Func<EntityEntryGraphNode,TState,Boolean>)

遍历实体图,允许在每个节点上执行操作。

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

类型参数

TState

状态对象的类型。

参数

node
EntityEntryGraphNode

正在访问的节点。

state
TState

任意状态对象。

handleNode
Func<EntityEntryGraphNode,TState,Boolean>

调用以处理节点的委托。

适用于