次の方法で共有


EntityContextIdentifier クラス

エンティティ コンテキスト識別子のデータ コントラクトを定義します。 エンティティのコンテキスト内に存在する識別子を持つオブジェクト。

継承階層

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

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

構文

'宣言
<SerializableAttribute> _
<DataContractAttribute(Name := "EntityContextIdentifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class EntityContextIdentifier _
    Inherits ModelContextIdentifier
'使用
Dim instance As EntityContextIdentifier
[SerializableAttribute]
[DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class EntityContextIdentifier : ModelContextIdentifier
[SerializableAttribute]
[DataContractAttribute(Name = L"EntityContextIdentifier", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class EntityContextIdentifier : public ModelContextIdentifier
[<SerializableAttribute>]
[<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 オブジェクトが関連付けられているエンティティの Identifier を取得または設定します。
パブリック プロパティ Id すべてのインスタンスとコンテキストでオブジェクトを一意に識別するグローバル一意識別子 (GUID) を取得または設定します。 (Identifier から継承されています。)
パブリック プロパティ InternalId マスター データ サービス インスタンス内でオブジェクトを一意に識別する内部整数識別子を取得または設定します。 (Identifier から継承されています。)
パブリック プロパティ IsBlank 識別子のすべてのプロパティが空白かどうかを示す値を取得します。 (ModelContextIdentifier.IsBlank をオーバーライドします。)
パブリック プロパティ IsIdBlank 識別子が空白 (空) であるかどうかを示す値を取得します。 (Identifier から継承されています。)
パブリック プロパティ ModelId オブジェクトが関連付けられているモデルの識別子を取得または設定します。 (ModelContextIdentifier から継承されています。)
パブリック プロパティ Name 識別子のわかりやすい名前を取得または設定します。 (Identifier から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
プロテクト メソッド MemberwiseClone (Object から継承されています。)
プロテクト メソッド SetProperty<T> インフラストラクチャです。指定した値を使用してプロパティを設定します。 (DataContractBase から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

スレッド セーフ

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

関連項目

参照

Microsoft.MasterDataServices.Services.DataContracts 名前空間