EntityContextIdentifier クラス

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

継承階層

System.Object
  Microsoft.MasterDataServices.DataContractBase
    Microsoft.MasterDataServices.Identifier
      Microsoft.MasterDataServices.ModelContextIdentifier
        Microsoft.MasterDataServices.EntityContextIdentifier
          Microsoft.MasterDataServices.MemberTypeContextIdentifier

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

構文

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

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

コンストラクター

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

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ EntityId オブジェクトの親エンティティの ID を取得または設定します。
パブリック プロパティ ExtensionData 追加のデータを格納する構造体を取得または設定します。 (DataContractBase から継承されています。)
パブリック プロパティ 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) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.MasterDataServices 名前空間