IEntityWithKey 介面

定義

定義公開 (Expose) 實體 (Entity) 索引鍵的實體類型。

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

備註

這個介面是用來將實體索引鍵公開給物件服務。

物件服務會使用 EntityKey 屬性,在物件內容中管理物件。

如需詳細資訊,請參閱身分識別解析、狀態管理和 變更追蹤追蹤 POCO 實體中的變更

屬性

EntityKey

針對實作這個介面之實體類型的執行個體取得或設定 EntityKey

適用於