IEntityWithKey 接口

定义

定义公开实体键的实体类型。

public interface class IEntityWithKey
public interface IEntityWithKey
type IEntityWithKey = interface
Public Interface IEntityWithKey
派生

注解

此接口用于向对象服务公开实体键。

对象服务使用 EntityKey 属性来管理对象上下文中的对象。

有关详细信息,请参阅标识解析、状态管理和更改跟踪跟踪 POCO 实体中的更改

属性

EntityKey

为实现此接口的实体类型的实例获取或设置 EntityKey

适用于