共用方式為


Identifier 類別

Represents a set of ID’s for a master data model object including a globally unique ID (GUID) and unique name within context.

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services (在 Microsoft.MasterDataServices.Services.dll 中)

語法

'宣告
<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
'用途
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

Identifier 型別公開下列成員。

建構函式

  名稱 說明
公用方法 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.

上層

屬性

  名稱 說明
公用屬性 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.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。