EntityEntryGraphNode<TState>.CreateNode 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation) |
为正在图形中下一步遍历的实体创建一个新节点。 |
| CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigationBase) |
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。 |
CreateNode(EntityEntryGraphNode, InternalEntityEntry, INavigation)
- Source:
- EntityEntryGraphNode`.cs
- Source:
- EntityEntryGraphNode`.cs
为正在图形中下一步遍历的实体创建一个新节点。
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
参数
- currentNode
- EntityEntryGraphNode
要从中遍历实体的节点。
- internalEntityEntry
- Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
有关要遍历到的实体的内部条目跟踪信息。
- reachedVia
- INavigation
要遍历以到达新节点的导航属性。
返回
新建的节点。
适用于
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
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的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
参数
- currentNode
- EntityEntryGraphNode
要从中遍历实体的节点。
- internalEntityEntry
- Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
有关要遍历到的实体的内部条目跟踪信息。
- reachedVia
- INavigationBase
要遍历以到达新节点的导航属性。
返回
新建的节点。
- 特性