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

注釈

Object Services は、EntityKey プロパティを使用して、オブジェクト コンテキスト内のオブジェクトを管理します。

詳細については、「POCO エンティティの ID 解決、状態管理、Change Trackingおよび変更の追跡」を参照してください。

適用対象