Класс Identifier

Represents a set of ID’s for a master data model object including a globally unique ID (GUID) and unique name within context.

Иерархия наследования

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

Пространство имен:  Microsoft.MasterDataServices.Services.DataContracts
Сборка:  Microsoft.MasterDataServices.Services (в Microsoft.MasterDataServices.Services.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
<DataContractAttribute(Name := "Identifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
<KnownTypeAttribute(GetType(DerivedHierarchyContextIdentifier))> _
<KnownTypeAttribute(GetType(MemberIdentifier))> _
<KnownTypeAttribute(GetType(EntityContextIdentifier))> _
<KnownTypeAttribute(GetType(MemberTypeContextIdentifier))> _
<KnownTypeAttribute(GetType(ModelContextIdentifier))> _
Public Class Identifier
'Применение
Dim instance As Identifier
[SerializableAttribute]
[DataContractAttribute(Name = "Identifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(DerivedHierarchyContextIdentifier))]
[KnownTypeAttribute(typeof(MemberIdentifier))]
[KnownTypeAttribute(typeof(EntityContextIdentifier))]
[KnownTypeAttribute(typeof(MemberTypeContextIdentifier))]
[KnownTypeAttribute(typeof(ModelContextIdentifier))]
public class Identifier
[SerializableAttribute]
[DataContractAttribute(Name = L"Identifier", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(DerivedHierarchyContextIdentifier))]
[KnownTypeAttribute(typeof(MemberIdentifier))]
[KnownTypeAttribute(typeof(EntityContextIdentifier))]
[KnownTypeAttribute(typeof(MemberTypeContextIdentifier))]
[KnownTypeAttribute(typeof(ModelContextIdentifier))]
public ref class Identifier
[<SerializableAttribute>]
[<DataContractAttribute(Name = "Identifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
[<KnownTypeAttribute(typeof(DerivedHierarchyContextIdentifier))>]
[<KnownTypeAttribute(typeof(MemberIdentifier))>]
[<KnownTypeAttribute(typeof(EntityContextIdentifier))>]
[<KnownTypeAttribute(typeof(MemberTypeContextIdentifier))>]
[<KnownTypeAttribute(typeof(ModelContextIdentifier))>]
type Identifier =  class end
public class Identifier

Тип Identifier обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Identifier() () () () Initializes a new instance of the Identifier class using default values.
Открытый метод Identifier(Guid) Initializes a new instance of the Identifier class with the specified GUID.
Открытый метод Identifier(Guid, String) Initializes a new instance of the Identifier class with the specified GUID and name.

В начало

Свойства

  Имя Описание
Открытое свойство Id Gets or sets a GUID that uniquely identifies the object across all instances and contexts.
Открытое свойство InternalId Gets or sets an integer ID that uniquely identifies an object within an MDS instance.
Открытое свойство IsBlank Gets a value indicating whether all properties of the Identifier are blank.
Открытое свойство IsIdBlank Gets a value indicating whether the Id is blank (empty).
Открытое свойство Name Gets or sets a descriptive name that uniquely identifies the object within its context only.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.