次の方法で共有


Identifier クラス

オブジェクトの基本識別子のデータ コントラクトを定義します。

継承階層

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.Identifier
      Microsoft.MasterDataServices.Services.DataContracts.MemberIdentifier
      Microsoft.MasterDataServices.Services.DataContracts.ModelContextIdentifier

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

構文

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

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

コンストラクター

  名前 説明
パブリック メソッド Identifier() Identifier クラスの新しいインスタンスを既定値で初期化します。
パブリック メソッド Identifier(Guid) 指定した識別子を使用して、Identifier クラスの新しいインスタンスを初期化します。
パブリック メソッド Identifier(Guid, String) 指定した識別子と名前を使用して、Identifier クラスの新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ Id すべてのインスタンスとコンテキストでオブジェクトを一意に識別するグローバル一意識別子 (GUID) を取得または設定します。
パブリック プロパティ InternalId マスター データ サービス インスタンス内でオブジェクトを一意に識別する内部整数識別子を取得または設定します。
パブリック プロパティ IsBlank 識別子のすべてのプロパティが空白かどうかを示す値を取得します。
パブリック プロパティ IsIdBlank 識別子が空白 (空) であるかどうかを示す値を取得します。
パブリック プロパティ Name 識別子のわかりやすい名前を取得または設定します。

先頭に戻る

メソッド

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

先頭に戻る

スレッド セーフ

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

関連項目

参照

Microsoft.MasterDataServices.Services.DataContracts 名前空間