CollectionEntry.GetInternalTargetEntry(Object) 方法

定义

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

protected virtual Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry GetInternalTargetEntry (object entity);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry GetInternalTargetEntry (object entity);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry? GetInternalTargetEntry (object entity);
abstract member GetInternalTargetEntry : obj -> Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
override this.GetInternalTargetEntry : obj -> Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member GetInternalTargetEntry : obj -> Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
override this.GetInternalTargetEntry : obj -> Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
Protected Overridable Function GetInternalTargetEntry (entity As Object) As InternalEntityEntry

参数

entity
Object

返回

Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
属性

适用于