EntityEntryGraphNode<TState>.CreateNode Méthode
Définition
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.
Surcharges
| Nom | Description |
|---|---|
| CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation) |
Crée un nœud pour l’entité qui est parcourue ensuite dans le graphique. |
| CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigationBase) |
Il s’agit d’une API interne qui prend en charge l’infrastructure Entity Framework Core et qui n’est pas soumise aux mêmes normes de compatibilité que les API publiques. Il peut être modifié ou supprimé sans préavis dans n’importe quelle version. Vous devez uniquement l’utiliser directement dans votre code avec une prudence extrême et savoir que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version de Entity Framework Core. |
CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation)
- Source:
- EntityEntryGraphNode`.cs
- Source:
- EntityEntryGraphNode`.cs
Crée un nœud pour l’entité qui est parcourue ensuite dans le graphique.
public override Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigation reachedVia);
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
Public Overrides Function CreateNode (currentNode As EntityEntryGraphNode, internalEntityEntry As InternalEntityEntry, reachedVia As INavigation) As EntityEntryGraphNode
Paramètres
- currentNode
- EntityEntryGraphNode
Nœud à partir duquel l’entité est traversée.
- internalEntityEntry
- Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
Informations de suivi d’entrée internes sur l’entité en cours de traversée.
- reachedVia
- INavigation
Propriété de navigation en cours de traversée pour atteindre le nouveau nœud.
Retours
Nœud nouvellement créé.
S’applique à
CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigationBase)
- Source:
- EntityEntryGraphNode`.cs
- Source:
- EntityEntryGraphNode`.cs
- Source:
- EntityEntryGraphNode`.cs
- Source:
- EntityEntryGraphNode`.cs
- Source:
- EntityEntryGraphNode`.cs
- Source:
- EntityEntryGraphNode`.cs
- Source:
- EntityEntryGraphNode`.cs
Il s’agit d’une API interne qui prend en charge l’infrastructure Entity Framework Core et qui n’est pas soumise aux mêmes normes de compatibilité que les API publiques. Il peut être modifié ou supprimé sans préavis dans n’importe quelle version. Vous devez uniquement l’utiliser directement dans votre code avec une prudence extrême et savoir que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version de Entity Framework Core.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public override Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigationBase reachedVia);
public override Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigationBase reachedVia);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
Public Overrides Function CreateNode (currentNode As EntityEntryGraphNode, internalEntityEntry As InternalEntityEntry, reachedVia As INavigationBase) As EntityEntryGraphNode
Paramètres
- currentNode
- EntityEntryGraphNode
Nœud à partir duquel l’entité est traversée.
- internalEntityEntry
- Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
Informations de suivi d’entrée internes sur l’entité en cours de traversée.
- reachedVia
- INavigationBase
Propriété de navigation en cours de traversée pour atteindre le nouveau nœud.
Retours
Nœud nouvellement créé.
- Attributs