Share via


EntityEntryGraphNode.CreateNode Méthode

Définition

Surcharges

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 extrême prudence et sachant que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version d’Entity Framework Core.

CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation)

Crée un nœud pour l’entité qui est parcourue ensuite dans le graphique.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigation reachedVia);
abstract member CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
override this.CreateNode : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode
Public Overridable Function CreateNode (currentNode As EntityEntryGraphNode, internalEntityEntry As InternalEntityEntry, reachedVia As INavigation) As EntityEntryGraphNode

Paramètres

currentNode
EntityEntryGraphNode

Nœud à partir duquel l’entité est parcourue.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

Informations de suivi des entrées internes sur l’entité parcourue vers.

reachedVia
INavigation

Propriété de navigation en cours de traversée pour atteindre le nouveau nœud.

Retours

Le nœud nouvellement créé.

S’applique à

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 extrême prudence et sachant que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version d’Entity Framework Core.

public virtual 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]
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode CreateNode (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode currentNode, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.INavigationBase reachedVia);
abstract member 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
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member 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 Overridable Function CreateNode (currentNode As EntityEntryGraphNode, internalEntityEntry As InternalEntityEntry, reachedVia As INavigationBase) As EntityEntryGraphNode

Paramètres

currentNode
EntityEntryGraphNode

Nœud à partir duquel l’entité est parcourue.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

Informations de suivi des entrées internes sur l’entité parcourue vers.

reachedVia
INavigationBase

Propriété de navigation en cours de traversée pour atteindre le nouveau nœud.

Retours

Le nœud nouvellement créé.

Attributs

S’applique à