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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.MasterDataServices.Services.DataContracts 命名空间