Share via


IEntityWithKey.EntityKey 属性

定义

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

public:
 property System::Data::EntityKey ^ EntityKey { System::Data::EntityKey ^ get(); void set(System::Data::EntityKey ^ value); };
public System.Data.EntityKey EntityKey { get; set; }
member this.EntityKey : System.Data.EntityKey with get, set
Public Property EntityKey As EntityKey

属性值

实现此接口的实体类型实例的 EntityKey

注解

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

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

适用于