Identifier 類別
Defines the data contract for the base identifier of an object.
繼承階層
System.Object
Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
Microsoft.MasterDataServices.Services.DataContracts.Identifier
Microsoft.MasterDataServices.Services.DataContracts.MemberIdentifier
Microsoft.MasterDataServices.Services.DataContracts.ModelContextIdentifier
命名空間: Microsoft.MasterDataServices.Services.DataContracts
組件: Microsoft.MasterDataServices.Services.Contracts (在 Microsoft.MasterDataServices.Services.Contracts.dll 中)
語法
'宣告
<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
'用途
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
Identifier 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
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. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
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. |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
SetProperty<T> | 基礎結構。Sets the property using the specified values. (繼承自 DataContractBase。) |
![]() |
ToString | (繼承自 Object。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。