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 屬性,在物件內容中管理物件。

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

適用於