次の方法で共有


ModelContextIdentifier クラス

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

継承階層

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

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

構文

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

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

コンストラクター

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

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ Id すべてのインスタンスとコンテキストでオブジェクトを一意に識別するグローバル一意識別子 (GUID) を取得または設定します。 (Identifier から継承されています。)
パブリック プロパティ InternalId マスター データ サービス インスタンス内でオブジェクトを一意に識別する内部整数識別子を取得または設定します。 (Identifier から継承されています。)
パブリック プロパティ IsBlank 識別子のすべてのプロパティが空白かどうかを示す値を取得します。 (Identifier.IsBlank をオーバーライドします。)
パブリック プロパティ IsIdBlank 識別子が空白 (空) であるかどうかを示す値を取得します。 (Identifier から継承されています。)
パブリック プロパティ ModelId オブジェクトが関連付けられているモデルの識別子を取得または設定します。
パブリック プロパティ 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 名前空間