Класс EntityContextIdentifier

Defines the data contract for the entity context identifier. An object with the identifier resides within the context of an entity.

Иерархия наследования

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.Identifier
      Microsoft.MasterDataServices.Services.DataContracts.ModelContextIdentifier
        Microsoft.MasterDataServices.Services.DataContracts.EntityContextIdentifier
          Microsoft.MasterDataServices.Services.DataContracts.MemberTypeContextIdentifier

Пространство имен:  Microsoft.MasterDataServices.Services.DataContracts
Сборка:  Microsoft.MasterDataServices.Services.Contracts (в Microsoft.MasterDataServices.Services.Contracts.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
<DataContractAttribute(Name := "EntityContextIdentifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class EntityContextIdentifier _
    Inherits ModelContextIdentifier
'Применение
Dim instance As EntityContextIdentifier
[SerializableAttribute]
[DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class EntityContextIdentifier : ModelContextIdentifier
[SerializableAttribute]
[DataContractAttribute(Name = L"EntityContextIdentifier", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class EntityContextIdentifier : public ModelContextIdentifier
[<SerializableAttribute>]
[<DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
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 Identifier of the entity the object is associated with.
Открытое свойство Id Gets or sets a Globally Unique Identifier (GUID) that uniquely identifies the object across all instances and contexts. (Производный от Identifier.)
Открытое свойство InternalId Gets or sets the internal integer identifier that uniquely identifies an object within a Master Data Services instance. (Производный от Identifier.)
Открытое свойство IsBlank Gets a value that indicates whether all the properties of the identifier are blank. (Переопределяет ModelContextIdentifier.IsBlank.)
Открытое свойство IsIdBlank Gets a value that indicates whether the identifier is blank (empty). (Производный от Identifier.)
Открытое свойство ModelId Gets or sets the identifier of the model the object is associated with. (Производный от ModelContextIdentifier.)
Открытое свойство Name Gets or sets the descriptive name of the identifier. (Производный от Identifier.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод SetProperty<T> Инфраструктура. Sets the property using the specified values. (Производный от DataContractBase.)
Открытый метод ToString (Производный от Object.)

В начало

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

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

См. также

Справочник

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