語言

IEntityEntryGraphIterator.TraverseGraph 方法

定義

多載

名稱 Description
TraverseGraph<TState>(EntityEntryGraphNode<TState>, Func<EntityEntryGraphNode<TState>,Boolean>)

遍歷一個實體圖,允許在每個節點執行動作。

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

遍歷一個實體圖,允許在每個節點執行動作。

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

來源:
IEntityEntryGraphIterator.cs
來源:
IEntityEntryGraphIterator.cs
來源:
IEntityEntryGraphIterator.cs
來源:
IEntityEntryGraphIterator.cs
來源:
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>

一個代理來呼叫來處理該節點。

適用於