Identifier Class
Defines the data contract for the base identifier of an object.
Inheritance Hierarchy
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
The Identifier type exposes the following members.
Constructors
Name | 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. |
Top
Properties
Name | 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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetProperty<T> | Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.MasterDataServices.Services.DataContracts Namespace