Compartir a través de


Clase Identifier

Defines the data contract for the base identifier of an object.

Jerarquía de herencia

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

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

Sintaxis

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

El tipo Identifier expone los siguientes miembros.

Constructores

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

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Id Gets or sets a Globally Unique Identifier (GUID) that uniquely identifies the object across all instances and contexts.
Propiedad pública InternalId Gets or sets the internal integer identifier that uniquely identifies an object within a Master Data Services instance.
Propiedad pública IsBlank Gets a value that indicates whether all properties of the identifier are blank.
Propiedad pública IsIdBlank Gets a value that indicates whether the identifier is blank (empty).
Propiedad pública Name Gets or sets the descriptive name of the identifier.

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 protegido SetProperty<T> Infraestructura. Sets the property using the specified values. (Se hereda de DataContractBase.)
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.

Vea también

Referencia

Espacio de nombres Microsoft.MasterDataServices.Services.DataContracts