Classe Identifier
Represents a set of ID’s for a master data model object including a globally unique ID (GUID) and unique name within context.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.MasterDataServices.Services.DataContracts..::..Identifier
Microsoft.MasterDataServices.Services.DataContracts. . :: . .MemberIdentifier
Microsoft.MasterDataServices.Services.DataContracts. . :: . .ModelContextIdentifier
Espace de noms : Microsoft.MasterDataServices.Services.DataContracts
Assembly : Microsoft.MasterDataServices.Services (en Microsoft.MasterDataServices.Services.dll)
Syntaxe
'Déclaration
<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
'Utilisation
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
Le type Identifier expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
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. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
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. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.