Classe Identifier
Defines the data contract for the base identifier of an object.
Hiérarchie d'héritage
System.Object
Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
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.Contracts (en Microsoft.MasterDataServices.Services.Contracts.dll)
Syntaxe
'Déclaration
<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
'Utilisation
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
Le type Identifier expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
Identifier() | Initializes a new instance of the Identifier class with default values. | |
Identifier(Guid) | Initializes a new instance of the Identifier class with the specified identifier. | |
Identifier(Guid, String) | Initializes a new instance of the Identifier class with the specified identifier and name. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Id | Gets or sets a Globally Unique Identifier (GUID) that uniquely identifies the object across all instances and contexts. | |
InternalId | Gets or sets the internal integer identifier that uniquely identifies an object within a Master Data Services instance. | |
IsBlank | Gets a value that indicates whether all properties of the identifier are blank. | |
IsIdBlank | Gets a value that indicates whether the identifier is blank (empty). | |
Name | Gets or sets the descriptive name of the identifier. |
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.) | |
SetProperty<T> | Infrastructure. Sets the property using the specified values. (hérité de DataContractBase.) | |
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.
Voir aussi
Référence
Espace de noms Microsoft.MasterDataServices.Services.DataContracts