Freigeben über


Identifier-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<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
'Usage
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

Der Identifier-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Identifier() Initializes a new instance of the Identifier class with default values.
Öffentliche Methode Identifier(Guid) Initializes a new instance of the Identifier class with the specified identifier.
Öffentliche Methode Identifier(Guid, String) Initializes a new instance of the Identifier class with the specified identifier and name.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Id Gets or sets a Globally Unique Identifier (GUID) that uniquely identifies the object across all instances and contexts.
Öffentliche Eigenschaft InternalId Gets or sets the internal integer identifier that uniquely identifies an object within a Master Data Services instance.
Öffentliche Eigenschaft IsBlank Gets a value that indicates whether all properties of the identifier are blank.
Öffentliche Eigenschaft IsIdBlank Gets a value that indicates whether the identifier is blank (empty).
Öffentliche Eigenschaft Name Gets or sets the descriptive name of the identifier.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode SetProperty<T> Infrastruktur Sets the property using the specified values. (Geerbt von DataContractBase.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.MasterDataServices.Services.DataContracts-Namespace