Compartir a través de


Clase Identifier

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

Espacio de nombres:  Microsoft.MasterDataServices.Services.DataContracts
Ensamblado:  Microsoft.MasterDataServices.Services (en Microsoft.MasterDataServices.Services.dll)

Sintaxis

'Declaración
<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
'Uso
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

El tipo Identifier expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público Identifier() () () () Initializes a new instance of the Identifier class using default values.
Método público Identifier(Guid) Initializes a new instance of the Identifier class with the specified GUID.
Método público Identifier(Guid, String) Initializes a new instance of the Identifier class with the specified GUID and name.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Id Gets or sets a GUID that uniquely identifies the object across all instances and contexts.
Propiedad pública InternalId Gets or sets an integer ID that uniquely identifies an object within an MDS instance.
Propiedad pública IsBlank Gets a value indicating whether all properties of the Identifier are blank.
Propiedad pública IsIdBlank Gets a value indicating whether the Id is blank (empty).
Propiedad pública Name Gets or sets a descriptive name that uniquely identifies the object within its context only.

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.