Identifier 类
Represents a set of ID’s for a master data model object including a globally unique ID (GUID) and unique name within context.
继承层次结构
System. . :: . .Object
Microsoft.MasterDataServices.Services.DataContracts..::..Identifier
Microsoft.MasterDataServices.Services.DataContracts. . :: . .MemberIdentifier
Microsoft.MasterDataServices.Services.DataContracts. . :: . .ModelContextIdentifier
命名空间: 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。