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 つのオブジェクト間の関連付けを動的に作成し、関連する端を読み込む必要なくオブジェクトを削除することもできます。 詳細については、「 オブジェクトの作成、追加、変更、および削除」を参照してください

適用対象