次の方法で共有


EntityContextIdentifier クラス

エンティティのコンテキストに存在するマスター データ モデル オブジェクトの ID セットを指定します。

名前空間:  Microsoft.MasterDataServices
アセンブリ:  Microsoft.MasterDataServices (Microsoft.MasterDataServices.dll)

構文

'宣言
<KnownTypeAttribute(GetType(MemberTypeContextIdentifier))> _
<DataContractAttribute(Name := "EntityContextIdentifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class EntityContextIdentifier _
    Inherits ModelContextIdentifier
'使用
Dim instance As EntityContextIdentifier
[KnownTypeAttribute(typeof(MemberTypeContextIdentifier))]
[DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class EntityContextIdentifier : ModelContextIdentifier
[KnownTypeAttribute(typeof(MemberTypeContextIdentifier))]
[DataContractAttribute(Name = L"EntityContextIdentifier", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class EntityContextIdentifier : public ModelContextIdentifier
[<KnownTypeAttribute(typeof(MemberTypeContextIdentifier))>]
[<DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type EntityContextIdentifier =  
    class
        inherit ModelContextIdentifier
    end
public class EntityContextIdentifier extends ModelContextIdentifier

EntityContextIdentifier 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド EntityContextIdentifier EntityContextIdentifier クラスの新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ EntityId オブジェクトの親エンティティの ID を取得または設定します。
パブリック プロパティ ExtensionData 追加のデータを含むオブジェクトを取得または設定します。 (Identifier から継承されています。)
パブリック プロパティ Id ID を取得または設定します。 (Identifier から継承されています。)
パブリック プロパティ InternalId 内部整数 ID を取得または設定します。 (Identifier から継承されています。)
パブリック プロパティ ModelId モデル ID を取得または設定します。 (ModelContextIdentifier から継承されています。)
パブリック プロパティ Name 名前を取得または設定します。 (Identifier から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
プロテクト メソッド MemberwiseClone (Object から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

説明

EntityContextIdentifier には、親エンティティとモデルを含むオブジェクトのコンテキストの識別子が含まれます。エンティティ コンテキストを持つオブジェクトには、ExplicitHierarchy のインスタンスなどがあります。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。