Поделиться через


Класс 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.MasterDataServices