EntityReference.EntityKey プロパティ

定義

関連オブジェクトのキーを返します。

public:
 property System::Data::EntityKey ^ EntityKey { System::Data::EntityKey ^ get(); void set(System::Data::EntityKey ^ value); };
[System.Runtime.Serialization.DataMember]
public System.Data.EntityKey EntityKey { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.EntityKey : System.Data.EntityKey with get, set
Public Property EntityKey As EntityKey

プロパティ値

関連オブジェクトのキーである EntityKey

属性

注釈

EntityReference オブジェクトで使用できる関連オブジェクトのエンティティ キーを使用すると、データ ソースから読み込む必要なく、関連オブジェクトに関する情報を簡単に取得できます。

また、EntityReference オブジェクトで関連オブジェクトのEntityKeyを公開すると、Object Service は、関連付けられた 2 つのオブジェクト間に関連付けを動的に作成し、関連する終了を読み込まずにオブジェクトを削除することもできます。 詳細については、「 オブジェクトの作成、追加、変更、および削除」を参照してください。

適用対象