EntityContextIdentifier 類別
Specifies a set of ID’s for a master data model object that exists in the context of an entity.
繼承階層
System.Object
Microsoft.MasterDataServices.DataContractBase
Microsoft.MasterDataServices.Identifier
Microsoft.MasterDataServices.ModelContextIdentifier
Microsoft.MasterDataServices.EntityContextIdentifier
Microsoft.MasterDataServices.MemberTypeContextIdentifier
命名空間: Microsoft.MasterDataServices
組件: Microsoft.MasterDataServices (在 Microsoft.MasterDataServices.dll 中)
語法
'宣告
<DataContractAttribute(Name := "EntityContextIdentifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
<KnownTypeAttribute(GetType(MemberTypeContextIdentifier))> _
<KnownTypeAttribute(GetType(MemberAttributeIdentifier))> _
Public Class EntityContextIdentifier _
Inherits ModelContextIdentifier
'用途
Dim instance As EntityContextIdentifier
[DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(MemberTypeContextIdentifier))]
[KnownTypeAttribute(typeof(MemberAttributeIdentifier))]
public class EntityContextIdentifier : ModelContextIdentifier
[DataContractAttribute(Name = L"EntityContextIdentifier", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(MemberTypeContextIdentifier))]
[KnownTypeAttribute(typeof(MemberAttributeIdentifier))]
public ref class EntityContextIdentifier : public ModelContextIdentifier
[<DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
[<KnownTypeAttribute(typeof(MemberTypeContextIdentifier))>]
[<KnownTypeAttribute(typeof(MemberAttributeIdentifier))>]
type EntityContextIdentifier =
class
inherit ModelContextIdentifier
end
public class EntityContextIdentifier extends ModelContextIdentifier
EntityContextIdentifier 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
EntityContextIdentifier | Initializes a new instance of the EntityContextIdentifier class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
EntityId | Gets or sets the ID of the parent entity of the object. | |
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. (繼承自 ModelContextIdentifier。) | |
Name | Gets or sets the name. (繼承自 Identifier。) |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 Object。) | |
ToString | (繼承自 Object。) |
上層
備註
EntityContextIdentifier includes identifiers for the context of the object including parent entity and model. Examples of objects that have an entity context are instances of ExplicitHierarchy.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。