IEntityEntryGraphIterator.TraverseGraph Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
TraverseGraph<TState>(EntityEntryGraphNode<TState>, Func<EntityEntryGraphNode<TState>,Boolean>) |
Traverse un graphique d’entités permettant d’effectuer une action à chaque nœud. |
TraverseGraph<TState>(EntityEntryGraphNode, TState, Func<EntityEntryGraphNode,TState,Boolean>) |
Traverse un graphique d’entités permettant d’effectuer une action à chaque nœud. |
- Source:
- IEntityEntryGraphIterator.cs
- Source:
- IEntityEntryGraphIterator.cs
- Source:
- IEntityEntryGraphIterator.cs
Traverse un graphique d’entités permettant d’effectuer une action à chaque nœud.
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))
Paramètres de type
- TState
Type de l’objet d’état.
Paramètres
Nœud visité.
- handleNode
- Func<EntityEntryGraphNode<TState>,Boolean>
Délégué à appeler pour gérer le nœud.
S’applique à
Entity Framework Core 9.0 et autres versions
Produit | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Traverse un graphique d’entités permettant d’effectuer une action à chaque nœud.
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))
Paramètres de type
- TState
Type de l’objet d’état.
Paramètres
- node
- EntityEntryGraphNode
Nœud visité.
- state
- TState
Objet d’état arbitraire.
- handleNode
- Func<EntityEntryGraphNode,TState,Boolean>
Délégué à appeler pour gérer le nœud.
S’applique à
Entity Framework Core 2.2 et Entity Framework Core 2.1
Produit | Versions |
---|---|
Entity Framework Core | 2.1, 2.2 |
Commentaires sur Entity Framework
Entity Framework est un projet open source. Sélectionnez un lien pour fournir des commentaires :