Share via


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.DataContractBase
    Microsoft.MasterDataServices.Identifier
      Microsoft.MasterDataServices.ModelContextIdentifier
        Microsoft.MasterDataServices.EntityContextIdentifier
          Microsoft.MasterDataServices.MemberTypeContextIdentifier

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

Syntax

'Declaration
<DataContractAttribute(Name := "EntityContextIdentifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
<KnownTypeAttribute(GetType(MemberTypeContextIdentifier))> _
<KnownTypeAttribute(GetType(MemberAttributeIdentifier))> _
Public Class EntityContextIdentifier _
    Inherits ModelContextIdentifier
'Usage
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

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 the structure that contains extra data. (Inherited from DataContractBase.)
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.

See Also

Reference

Microsoft.MasterDataServices Namespace