共用方式為


ModelContextIdentifier 類別

Represents a set of Identifiers for a master data model object that exists in the context of a model.

繼承階層

System.Object
  Microsoft.MasterDataServices.DataContractBase
    Microsoft.MasterDataServices.Identifier
      Microsoft.MasterDataServices.ModelContextIdentifier
        Microsoft.MasterDataServices.DerivedHierarchyContextIdentifier
        Microsoft.MasterDataServices.EntityContextIdentifier

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

語法

'宣告
<DataContractAttribute(Name := "ModelContextIdentifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
<KnownTypeAttribute(GetType(MemberTypeContextIdentifier))> _
<KnownTypeAttribute(GetType(EntityContextIdentifier))> _
<KnownTypeAttribute(GetType(MemberAttributeIdentifier))> _
<KnownTypeAttribute(GetType(DerivedHierarchyContextIdentifier))> _
Public Class ModelContextIdentifier _
    Inherits Identifier
'用途
Dim instance As ModelContextIdentifier
[DataContractAttribute(Name = "ModelContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(MemberTypeContextIdentifier))]
[KnownTypeAttribute(typeof(EntityContextIdentifier))]
[KnownTypeAttribute(typeof(MemberAttributeIdentifier))]
[KnownTypeAttribute(typeof(DerivedHierarchyContextIdentifier))]
public class ModelContextIdentifier : Identifier
[DataContractAttribute(Name = L"ModelContextIdentifier", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(MemberTypeContextIdentifier))]
[KnownTypeAttribute(typeof(EntityContextIdentifier))]
[KnownTypeAttribute(typeof(MemberAttributeIdentifier))]
[KnownTypeAttribute(typeof(DerivedHierarchyContextIdentifier))]
public ref class ModelContextIdentifier : public Identifier
[<DataContractAttribute(Name = "ModelContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
[<KnownTypeAttribute(typeof(MemberTypeContextIdentifier))>]
[<KnownTypeAttribute(typeof(EntityContextIdentifier))>]
[<KnownTypeAttribute(typeof(MemberAttributeIdentifier))>]
[<KnownTypeAttribute(typeof(DerivedHierarchyContextIdentifier))>]
type ModelContextIdentifier =  
    class
        inherit Identifier
    end
public class ModelContextIdentifier extends Identifier

ModelContextIdentifier 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ModelContextIdentifier Initializes a new instance of the ModelContextIdentifier class.

上層

屬性

  名稱 說明
公用屬性 ExtensionData Gets or sets the structure that contains extra data. (繼承自 DataContractBase。)
公用屬性 Id Gets or sets the ID. (繼承自 Identifier。)
公用屬性 InternalId Gets or sets the internal integer ID. (繼承自 Identifier。)
公用屬性 ModelId Gets or sets the model ID.
公用屬性 Name Gets or sets the name. (繼承自 Identifier。)

上層

方法

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

上層

執行緒安全性

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

請參閱

參考

Microsoft.MasterDataServices 命名空間