ModelContextIdentifier 类

Represents a set of IDs for a master data model object that exists in the context of a model. This type includes identifiers for the context of the object: the parent model. Examples of objects that have a model context are entities, versions, version flags and derived hierarchies.

命名空间:  Microsoft.MasterDataServices.Services.DataContracts
程序集:  Microsoft.MasterDataServices.Services(在 Microsoft.MasterDataServices.Services.dll 中)

语法

声明
<SerializableAttribute> _
<DataContractAttribute(Name := "ModelContextIdentifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class ModelContextIdentifier _
    Inherits Identifier
用法
Dim instance As ModelContextIdentifier
[SerializableAttribute]
[DataContractAttribute(Name = "ModelContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class ModelContextIdentifier : Identifier
[SerializableAttribute]
[DataContractAttribute(Name = L"ModelContextIdentifier", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class ModelContextIdentifier : public Identifier
[<SerializableAttribute>]
[<DataContractAttribute(Name = "ModelContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type ModelContextIdentifier =  
    class
        inherit Identifier
    end
public class ModelContextIdentifier extends Identifier

ModelContextIdentifier 类型公开以下成员。

构造函数

  名称 说明
公共方法 ModelContextIdentifier Initializes a new instance of the ModelContextIdentifier class.

页首

属性

  名称 说明
公共属性 Id Gets or sets a GUID that uniquely identifies the object across all instances and contexts. (从 Identifier 继承。)
公共属性 InternalId Gets or sets an integer ID that uniquely identifies an object within an MDS instance. (从 Identifier 继承。)
公共属性 IsBlank Gets a value indicating whether the identifier is blank. (覆盖 Identifier. . :: . .IsBlank。)
公共属性 IsIdBlank Gets a value indicating whether the Id is blank (empty). (从 Identifier 继承。)
公共属性 Name Gets or sets a descriptive name that uniquely identifies the object within its context only. (从 Identifier 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

字段

  名称 说明
公共字段 ModelId The identifier of the parent entity of the object.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。