EntityContextIdentifier Class

Specifies a set of ID’s for a master data model object that exists in the context of an entity.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Identifier
    Microsoft.MasterDataServices.ModelContextIdentifier
      Microsoft.MasterDataServices.EntityContextIdentifier
        Microsoft.MasterDataServices.MemberTypeContextIdentifier

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

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

The EntityContextIdentifier type exposes the following members.

Constructors

  Name Description
Public method EntityContextIdentifier Initializes a new instance of the EntityContextIdentifier class.

Top

Properties

  Name Description
Public property EntityId Gets or sets the ID of the parent entity of the object.
Public property ExtensionData Gets or sets an object that contains extra data. (Inherited from Identifier.)
Public property Id Gets or sets the ID. (Inherited from Identifier.)
Public property InternalId Gets or sets the internal integer ID. (Inherited from Identifier.)
Public property ModelId Gets or sets the model ID. (Inherited from ModelContextIdentifier.)
Public property Name Gets or sets the name. (Inherited from Identifier.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.